How to integrate media player in j2me polish

Hi,
I have create a media player in j2me. Now I want to integrate media player code into j2me polish project. I tried to integrate the media player with j2me polish project and audio file is playing fine. but while playing video I am not getting the video picture, only voice is cming and it's also giving one exception like this -
"[j2mepolish] Generic/AnyPhone: Uncaught exception java/lang/ClassCastException"
If i am going to build.xml and changing the
usePolishGui="true" to "false".. then I am getting video picture also without any Exception..
Kindly help me out..
Thanks,

Hi,
I have create a media player in j2me. Now I want to integrate media player code into j2me polish project. I tried to integrate the media player with j2me polish project and audio file is playing fine. but while playing video I am not getting the video picture, only voice is cming and it's also giving one exception like this -
"[j2mepolish] Generic/AnyPhone: Uncaught exception java/lang/ClassCastException"
If i am going to build.xml and changing the
usePolishGui="true" to "false".. then I am getting video picture also without any Exception..
Kindly help me out..
Thanks,

Similar Messages

  • J2me polish compilling in netbeans

    I'm trying to integrate netbeans with j2me polish but when rebuilding I get an error
    Buildfile: build.xml
    clean.tar.src:
    clean.resources:
    clean.devices:
    clean:
    build.tar.src:
          [tar] Building tar: D:\projects\MobileClient1\CP_Phone_Backup-Src.tar.gz
    build.resources:
          [tar] Building tar: D:\projects\MobileClient1\CP_Phone_Backup-Common.tar.gz
    build.devices:
    BUILD FAILED
    D:\projects\MobileClient1\build\build.xml:57: The <subant> type doesn't support the nested "target" element.
    Total time: 4 seconds
    BUILD SUCCESSFUL (total time: 4 seconds)

    akienou wrote:
    Hello Lichtens,
    I've been able to install the Polish samples installed with J2ME Polish.
    The problem is how I can create a new J2ME Polish project or how I can integrate Polish functionalities to an existing project.
    Thanks in advance.From the tutorial itself that you pointed:
    When you start a new project in NetBeans, just copy one of the sample build.xml scripts to your project's folder. Then adjust the settings according to your needs.

  • Open media player by clicking its icon

    how to open media player,real player,itunes,winamp by
    clicking its icon in flash
    Text

    If your working on an offline application then you can use
    FlashJester
    JStart
    http://jstart.flashjester.com
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. - www.flashjester.com
    "This has been one of the most impressive and thoroughly
    pleasant
    experiences of customer support I have ever come across -
    astounding!"
    Director - hedgeapple

  • How to integrate Fullscreen Flash Player

    Hello,
    Has someone already some experiences with this website?
    http://www.video-flash.de/flv-flash-fullscreen-video-player/
    I would like to know how I can integrate the player into my website.
    Thanks.

    Here is your swfobject.js
    http://www.movie-infos.de/flvplayer/swfobject.js
    Here is the flvplayer.swf
    http://www.movie-infos.de/flvplayer/flvplayer.swf
    Here is your preview image: (PNG, not jpg)
    http://www.movie-infos.de/flvplayer/content/Preview.PNG
    Here is your FLV file
    http://www.movie-infos.de/flvplayer/content/Trailer2.flv
    Putting it all together, try pasting this into your FLVPlayerTest.html page and upload to server.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>FLVPlayerTest.html</title>
    <script type="text/javascript" src="http://www.movie-infos.de/flvplayer/swfobject.js"></script>
    <script type="text/javascript">
    var playervars = false;
    swfobject.embedSWF("http://www.movie-infos.de/flvplayer/flvplayer.swf?contentpath=content&preview=Preview.PNG&video=Trailer2.flv&captions=&preroll=&autoplay=&loop=&islive=&volume=&smoothing=true&autoscale=false&videowidth=250&videoheight=114&skincolor=&skinscalemaximum=&skin=&preloader=&buttonoverlay=&ending=&debug=", "videoCanvas", "250", "114", "9.0.28", "expressInstall.swf", playervars, { scale: "noscale", allowfullscreen: "true",salign: "tl", bgcolor: "#FFFFFF", base: "."},  { align: "left"});
    </script>
    </head>
    <body>
    <div id="videoCanvas">
    <p>This <a href="http://www.video-flash.de/flv-flash-fullscreen-video-player/">Flash Video Player</a> requires the Adobe Flash Player.</p>
    <p><a href="http://www.adobe.com/go/getflashplayer" target="_blank">
    <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
    </div>
    </body>
    </html>
    Nancy O.
    Alt-Web Design & A
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • How do I use my deactivated Droid 2 as a media player?

    I know it's possible, because I used it for a while after I got my iphone and then my son used it with his number temporarily  when he broke his phone, I've restored it to factory settings but can't get past the activation screen. Can't I use the device with wifi without activating it? Or is this expensive device good for nothing since no one wants to use it as a phone. I'd like to use it as an alarm clock/media player but how do I do that? I called Verizon support and she told me it isn't possible but I'm not willing to give up that easily. Help please! Save this device from the landfill! TIA, L.

    Sure wish I was more patient. What I ended up doing was temporarily reactivating the phone since I knew it worked after I initially stopped using it. I downloaded the apps I wanted then I turned it off and reactivated my iphone. All appears to be well but I will file your instructions away for possible future reference. Thanks a bunch!
    Date: Sun, 10 Feb 2013 15:48:20 -0700
    From:
    To: >Personal email address deleted<
    Subject: Re: How do I use my deactivated Droid 2 as a media player? - Re: How do I use my deactivated Droid 2 as a media player?
                                                                                    Re: How do I use my deactivated Droid 2 as a media player?
        created by tikibar1 in DROID & DROID 2 by Motorola - View the full discussion
    See if this works to bypass the activation screen: On the Welcome screen with the 'touch the Android to begin' icon, tap each of the four corners of the screen, starting with the top left, i.e.:- Tap the top left corner of the screen, then- Tap the top right corner of the screen, then- Tap the bottom right corner of the screen (just above the grey bar), then- Tap the bottom left corner of the screen (just above the grey bar) Wait a few seconds and you should see the home screen
    Message was edited by: Verizon Moderator

  • How to change default media player setting in Mountain Lion

    I right click on the desired media player, then I click on "get info" and another pop up appears,
    but there is no "open with" selection!  See pic below:
    I open the application folder in the Finder window, I highlight the desired media player, I go to the top and
    click on File and in the drop down menu, the "open with" is grayed out.  Why?
    How do I change the default media player setting or better yet, where do I find what is the default player?  Help Please!

    CheeMiss8
    you need to find the file you are trying to have open with a specific application.
    for example, I'm going to use an MP4 file titled cat_adventure video.
    here it is in finder
    I right click (secondary click) it in finder, and then hold down the option key on my keyboard.
    the Open With dialogue should change to "Always Open With" and then you choose your application from the pull out menu when you hover that.
    You can make it so all MP4 or whichever file you are using (AVI, MKV, etc) to open with a specific app by right clicking the file choosing get info
    The difference here is I'm not selecting the application but a file with the extension of the video format I always want to be opened with a specific application
    once in the get info menu I can then select to have the video always open with a certain app.
    1.click the open with accordion menu arrow if it is pointing to the left. it should be pointing down.
    2.select the application you want to always be associated with that file format
    3.select Change All to have that file format always be opened with that Application.
    Where this isn't working for you is because you are doing this to the Application itself. you don't do it like that. You need to find the type of file you are trying to open with itunes and then go through these steps.
    selecting the application (itunes) instead of the file (mp4, avi, mkv, flv) will not allow you to set what the file format lets you use to play your video.
    having said that, itunes is very limited in what it can and can't play. Mainly .mov and mp4's (apples proprietary extensions)

  • How can I plott data from a text file in the same way as a media player using the pointer slide to go back and fort in my file?

    I would like to plott data from a text file in the same way as a media player does from a video file. I’m not sure how to create the pointer slide function. The vi could look something like the attached jpg.
    Please, can some one help me?
    Martin
    Attachments:
    Plotting from a text file like a media player example.jpg ‏61 KB

    HI Martin,
    i am not realy sure what you want!?!?
    i think you want to display only a part of the values you read from XYZ
    so what you can do:
    write all the values in an array.
    the size of the array is the max. value of the slide bar
    now you can select a part of the array (e.g. values from 100 to 200) and display this with a graph
    the other option is to use the history function of the graphes
    regards
    timo

  • How do I transfer a saved song on Windows Media Player to my iPod?

    I downloaded 1 song with Amazon gift card. I was having computer/ipod issues that day, but have since cleared that up. The download was saved on my Windows Media Player. How do I get it to iTunes or to my iPod?

    Got it! I figured it out ..... until the next time - then I won't remember what I did

  • How can I copy my iTunes library to windows media player?

    Hi, I've spent all morning trying to consolidate all my music into Windows Media Player...so I can make playlists, etc. iTunes seems to be pretty tough....I've moved the library file around....copied, etc. and I can't seen to paste it into Windows Media Player. My itunes library has about 50 purchased songs, and another 100 from my own CDs.
    Does anyone know how to do this? I'm getting really irritable over this!!!
    Thanks in advance!

    The iTunes purchased songs will not transfer to Windows Media Player. Unless you have the iTunes Plus versions, iTunes purchased files are copy protected.
    There is nothing preventing you from adding the other files to Windows Media Player except for maybe file format. Did you rip the CDs to AAC or MP3 format. Don't know if WMP can play AAC. WMP has no problems with MP3.
    To add MP3 files to WMP just add them using WMP functions.

  • How can I upload my Itunes library to Windows Media Player?

    Hello,
    Please can someone help me.
    I want to keep my Windows Media Player library in sync with my Itunes library.
    Does anyone know how to do this?

    In WMP, go to Library > Add to Library, and make sure it is watching any folder where you have music, such as My Music. Then, as you add songs to your iTunes library manually, WMP will add them automatically to its library. (The opposite will not work, since iTunes does not have the ability to automatically watch folders.)
    Since you will be using both players, I strongly suggest you use music only in MP3 format. Also, you must absolutely avoid purchasing any tracks with DRM, since there is no DRM scheme that both players can handle.

  • Is there a way to import music from my windows media player, if so how?

    Is there a way to import music from my windows media player, if so how?

    Exploter the settings in Windows Media Player. It should tell where it is currently storing files. You can also enable the path column in WMP to see where individual tracks are stored. See also Getting iTunes & Windows Media Player to play nicely.
    tt2

  • Satellite A210 - How to use muldimedia buttons with other than Media Player

    Hi,
    is it really not possible to use the Multimedia Buttons (Play, Pause, FF) on the top of my notebook for another application than the Windows Media Player?
    Is there any reason for this? I would like to control Winamp with this buttons.
    It seems quite sensless to restrict the acces to ONE application of HUNDREDS available, an then this one is the Media Player which is not used by the most people.
    I have the Satellite A210 Notbook.
    Can you tell my how to control my winamp with this buttons?
    Greetings from Robert

    Hello Robert
    Unfortunately there is no solution at the moment. If you check this forum you can find several very interesting threads about multimedia buttons and Winamp player. The fact is that some people have found solution for older notebook models running WXP. Winamp has offered plugin that must be installed.
    Now we have new situation. Your notebook runs newest Vista OS and I didnt find any plugin that can help. Problem is that your notebook is designed for Windows Vista and preinstalled OS contains all necessary plugins for running Windows media player as a part of preinstalled operating system.
    It is no kind of restriction. With preinstalled OS you can do what you want and if you can find a way to change it do this. You know very well that there are hundreds of different players on the market. You cannot expect that Toshiba take a time and create a plugins for all of them and satisfy the customers all over the world.

  • How do I force Safari to use Windows Media Player as my default WMV player.

    I am subscribed to a educational program called "the Epson Online Experience", and the entire program is in Windows Media Player videos. I was using Safari and Mac OS 10.3.9 with no problem what so ever, until Quick Time updated itself. Now I can't get WMP to play at all in Safari, or in Camino or IE either. The browsers just keep trying to play the link in Quick Time.
    I did download Flip4Mac, but with no luck. The links now appear to open, appear to be downloading the buffer, but will stay on that screen for hours if I allow it.
    Does anyone know how to make Windows Media Player the default media player in Safari? or for that matter, in Camino (or if I MUST, I guess I would be willing to try it in IE too if I could make it work.
    Thanks for the help!
    Jodan

    Welcome to Apple Discussions. Your post seems to have been lost in a sea of Safari problems.
    Usually items triggering media players create a file, which is downloaded into your system. Check your download folder for the file. If you can't find it, access the same file again via Safari.
    Once you locate the file on your HD, click on it. Then, command key + I will bring up the info panel for the file (or simply select "more info" in the preview panel if you're in the finder's column mode). Go to the bottom where you'll see "open with". There, you see "quicktime" listed as the app. for opening the file. Click on the drop down menu and find the Windows player and select it.
    Back to the info. panel - select "change all". This will revert all files of this type on your HD, plus future files to the Windows Media Player. Double click on the file to activate the video. Future selections in Safari will automatically open the correct media player. One other note, for the player to open automatically, you must check "open safe files after downloading" in your Safari Preferences>General panel.
    Post back with results.

  • How do I move my files from Windows Media Player to my ipod?

    Please help! I cannot figure out how to move the songs in Media Player over to my ipod.

    Hello 03bprice!  Follow the instructions below:
    Add files already stored on your computer: http://support.apple.com/kb/PH12485 and http://support.apple.com/kb/PH12493
    Do either of the following:
    Drag a file or folder from the desktop to the iTunes window.If you add a folder, all the files it contains are added to your library.
    In iTunes, choose File > Add to Library, locate a file or folder, and click Open.
    By default, adding items to your iTunes library places a pointer to each file in the iTunes folder; the original file remains in the current location. For information about copying files to the iTunes folder instead of creating pointers to them, see Change where your iTunes files are stored. If the file is an unprotected WMA file and you have Windows Media Player Series 9 or later installed, iTunes makes a copy of the file and adds it to your iTunes library. The original WMA file remains unchanged. You can’t add protected WMA files or protected WMV files to iTunes.

  • How can i convert a window media player file into a format playable on ipod

    hey guys can you tell me how can i convert an widdow media player file into a format that can be played on my ipod, i used videora ipod converter but it can't convert the window media player file

    the program you show change wma to mp3, but the mp3 file can't be understanded by the iPod, how can i change a wma file to a format understanded by the Ipod?

Maybe you are looking for

  • Error while creating A/R Credit Memo

    Hello everyone. I'm creating some documents on my AddOn, keeping the relationship map. My process is to create: Sales Quotation > Sales Order > A/R Down Payment Invoice. The creating process is ok, but sometimes I need to cancel these documents. Sale

  • How do I trash mail in iOS 7.0.3?

    Just updated to iOS 7.0.3 on iPad and cannot delete read mail without going to edit mail.  Not sure I want to up date iPhone 5 until this is resolved. 

  • Has anyone else noticed websites automatically opening App Store?

    I don't know if this is a vulnerability opened up in IOS 7 (when I firs noticed it) or if it's just something unscrupulous web vultures have recently discovered, but I've noticed I'll be on a website (usually one of those websites with lists, or pict

  • Seeing:  'Missing reverse index on remove: null' errors

    Hi, I'm seeing the following error being logged on a couple of our cache servers: 2007-05-15 16:03:10.799 Tangosol Coherence AE 3.2.2/371 <Error> (thread=DistributedCacheWorker:3, member=2): Missing reverse index on remove: null I've not found any po

  • Lightroom 4.4 won't recognize custom camera profiles

    I can't get LR4 to recognize any custom profiles.  I've loaded others' tried and proven custom profiles for Fuji X-cameras, and I've used Adobe DNG Profile Editor to create my own .dcp profile with my X-E1.  All these profiles are in the correct fold