How do I restart a Player?

I am writing a Midlet which SDK 3.0.
I want to be able to get a sound (WAV or MIDI) to restart from the beginning before it has finished playing.
p.stop() doesn't reset to the beginning of the WAV or MIDI file, so when I sent p.start(), it just continues from where it left off. This is not what I want, but after searching for 2 days, I still cannot find any way to reset the player to the beginning of the clip.
Does anyone know how to do it? I tried FramePositioningControl but it appears to not work for WAV or MIDI players.
Thanks.

How ironic. After searching for 2 days I finally posted my question on here and then minutes later, I figured out what I need! It's p.setMediaTime(0) !
I had misunderstood what setMediaTime did when I read the API for 2 days...

Similar Messages

  • How to download adobe flash player onto MacBook pro

    Hi, can anyone tell me how to download adobe flash player onto my new MacBook Pro with retina display please?
    I don't know what operating system it has?

    If you've a new Retina display MacBook Pro, it probably shipped with Mavericks - you can confirm this by going to the Apple on the menu bar and selecting "About This Mac...." if it says system 10.9 or 10.9.1, you're on Mavericks.
    To install Flash Player, you must first download it from Adobe -> http://get.adobe.com/flashplayer/. After the download is complete, you should have a file with a .dmg extension in your Downloads folder. Double-click this file and it will 'mount' as if it is a disk. There will be a 'package' inside and you must double-click this to actually install Flash Player.
    Once Flash Player is installed, restart your computer and then open your browser. You should now be able to view Flash content.
    Good luck,
    Clinton

  • I lost connection with the server while downloading  an audio book how do I restart the download without paying again?

    I lost connection with the server while downloading  an audio book how do I restart the download without paying again?

    Go into the App Store, tap Updates, and at the top should appear Purchases. Hit the tab that says "Not on this iPhone" to download again

  • How do you initialize audio player on iPhone 5s iOS8?

    I am trying to use Scan & Translate and Translate Photo but the error message that says "Unable to initialize audio player" comes up and cannot use those apps.
    How do you initialize audio player on iPhone 5s iOS 8?

    Ddeveloper has not updated their app since July.
    THey need to update to be ios 8 compatible.
    the popup you are getting is the app failing to work, not a direction for you to follow.

  • How to change default Ovi Player store ...

    Hi, 
    I need help from you people.  
    I had installed Ovi Player. Whenever I try to open Ovi Player, the default store gets’ open is "India". I change the store location to "Germany". When I do the search for particular music, it will again take me to "India" store instead of "Germany" store. In addition, most annoying is that I have to re-login but my user id and password will not work as its different store. Also when I go via music.nokia.de and try to login, it open Ovi player and since default location is "India", it takes me to India store and my login credentials do not work.  
    I ask Nokia care on how to change default Ovi Player Store location but they are unable to provide any good answer.  
    I already un-install / re-installed but won't work. Do any of you have answer to my problem? I want my default Ovi Player location to be "Germany" instead of "India".  
    More information, my regional settings have location as “Germany” and language as “English”.  
    Please help. 
    Thanks for your response.
    Regards,
    Subhendra
    Nokia N97 Black
    RM-505
    V12.0.026
    0586701
    Solved!
    Go to Solution.

    I had got message from Nokia on how to correct this issue. This had solved the problem. Below is the mail from them ...
    Dear Chakraborty,
     Thank you for your response.
     This error is sometimes caused by a corrupted MDataStore.db3 file used by the Ovi Player.  This file will need to be deleted with the Ovi Player closed.  Then open the player and the datastore file will be rewritten by the application:
     Close Ovi Music Player and delete the MDataStore.db3 file:
     Vista C:\Users\<user>\AppData\Local\Nokia\Nokia Data Store\DataBase\MDataStore.db3
     XP C:\Documents and Settings\<user>\Local Settings\Application Data\Nokia\Nokia Data Store\DataBase\MDataStore.db3
     Both of these locations are in hidden folders.  So, to view them users will need to: 
     Open Windows Explorer > Tools > Folder Options > View > Show Hidden Files and Folders
    Once Ovi Music is opened again the MDataStore.db3 file will be rewritten to this folder.
      After that manipulation try to install the Ovi Player once again:
     http://europe.nokia.com/explore-services/music/nokia-music
      Best regards
     Nokia Care Team

  • How can I download flash player in my nokia n97?

    how can I download flash player in my nokia n97?? 
    I can't view any videos at website
    Moderator's Note: Subject line changed as it is not seem to be a relevant and support issue.

    It depends in what format the online videos are.
    For some formats you might find appropriate players on Nokia Store
    If you're trying to watch youtube movies, you can point your phone's browser to http://m.youtube.com/

  • HT1296 what if you dont have a computer to download iTunes then how can i restart my iPod?

    what if you dont have a computer to download iTunes then how can i restart my iPod? because my iPod is telling me to hook it up to iTunes but there is no way for me to do that if i cant download it on a computer i dont have..

    You need to connect the iPod to a computer with iTunes and an internet connection and restore via iTunes
    iTunes: Backing up, updating, and restoring iOS software

  • How Do I Stop Flash Player From Storing Cache?

    Windows XP SP3
    Latest Flash Player (i just upgraded it to the latest as of today)
    There are a couple of directories on my HDD that appear to be the place where Flash stores cache.
    One of them is (#1):
    c:\Documents and Settings\User\Application Data\Adobe\Flash Player\AssetCache\
    The other is (#2):
    c:\Documents and Settings\User\Application Data\Macromedia\Flash Player\#sharedobjects
    These directories were so bloated with subdirectories that it literally took about 12 HOURS OR MORE to delete everything in them!  I'm not kidding.
    There must have been 100,000 subfolders or maybe even more in these folders.  They were choking everything on my computer that had to read past them.
    I FINALLY was able to delete everything from them after hours of work.
    Now I want to keep them empty, so this doesn't happen again but I can't find out how to do that.  It is so dang frustrating.  I looked and looked for a way to shut this storage off.
    I finally found the online "Settings Manager" and thought I FINALLY solved the problem after setting the "Global Storage" setting to "Never" and unchecking the "Allow third party Flash content to be stored on your computer" and "Store common Flash components to reduce download times" boxes.
    BUT NO!!!
    It didn't do a thing.  I looked at those two folders again and they are still being filled up with new subfolders!!!!
    UUUURRRRRRRRRRRRRRRRRRRRRRRRRRRR!
    How do I keep Flash Player from storing this unwanted mess on my computer?!
    Thank you for ANY HELP!

    PS:
    Before I set the global settings as I stated above, I DELETED all the "Websites already visited" from the list in Settings Manager so that ALL Websites would be set according to the global settings.
    But none of that did a thing to stop the new folders from being created anyway.  How do I stop them??!!!

  • How can i use flash player on my ipad?

    How can i use flash player on my ipad?

    Install Flash Player on your PC. Install remote access software on a PC and your iPad and then you are good to go.

  • How can i install Flash Player on Android 4.4.3 by Samsung S4?

    How can i install Flash Player on Android 4.4.3 by Samsung S4?

    Hello,
    Flash Player is no longer supported on Android, however, you can install it manually on your own, or use a different browser in your Android device.
    Some helpful links:
    "Why can't I install Flash Player on my Tablet?" (Kindle or Samsung Galaxy) - for tablets, but contains general helpful information
    How do I manually install Flash Player on my Android device? - instructions for sideloading the Flash Player .apk
    Maria

  • How can I install flash player on an android 4.0 tablet?

    How can I install flash player on an android 4.0 tablet?

    Hi eghall,
    Flash Player for Android is no longer available. For more information, see here:
    http://blogs.adobe.com/flashplayer/2012/06/flash-player-and-android-up date.html
    Android users can still download and install Flash Player from the Archived Flash Player Versions page on the Adobe website.
    Please refer : http://forums.adobe.com/thread/1061194
    Please see this page for a list of all certified devices:Flash Player Certified Devices

  • My kids desabled my mini ipad after several tries to log in.  My computer that I used to sincronize it doesn't work anymore and i can't connected to itunes.. How can i restart it without the actual computer that I used before??

    My kids desabled my mini ipad after several tries to log in.  My computer that I used to sincronize it doesn't work anymore and i can't connected to itunes.. How can i restart it without the actual computer that I used before??

    You can use any computer but your data will be lost if you have no backup.

  • HT1661 How can I restart my mac book pro 11 inches when it's on target disc mode

    How can I restart my mac book pro 11 inches when it's on target disc mode

    Even if you could open Disk Utility you can't reformat a disk while you are booted from it. You will have to use the install CD. Ring the Apple Online Store at the number given at bottom left of this page and give them the serial number of your Mac. You should be able to get the Snow Leopard install disks for a nominal fee.

  • TS1363 how can i restart my 2004 ipod click wheel?

    How can i restart my 2004 model ipod (click wheel) on my computer and on my itunes?

    Connect the iPod nano to the computer the exact same way you set up the old one. You don't need to create another Apple ID, iTunes Store account, or iTunes library.
    (98196)

  • Was playing game for months. Tonite, I went to play and it started me back as a new user. How do I find my player info and continue playing my origional game??

    Was playing game for months, when I turned ipad on tonite and went to continue playing, it started me as a new user. My old achievements are still in game, but can only view them as the game recognizes me as a new user. How can I retrieve my player info to continue where I left off in game?

    snozdop wrote:
    If I bought a new iPad and wanted to continue as on the old iPad, I would setup the new iPad from a backup of the old iPad, thereby transferring everything from old to new.
    Exactly, a full backup of the previous device would contain all the app workfiles that stored the current state of the game.
    I'm thinking if your kids got ahold of the iPad and decided to start with a new/fresh character, it may not be possible to go back. Given that the device is not altogether geared for multiuser usage (Apple would rather everyone got their own), many games don't support multiple users, besides those on other devices when in networked multiplayer mode.
    But hopefully they will answer and set the record straight. While you wait may want to interrogate the infractors on what they specifically did so you can provide details to the maker if they need them.
    snozdop wrote:
    Can be either iCloud or iTunes depending on where you chose to do your backups to.
    I'm not sure iCloud stores everything. Even iTunes states that iCloud "Backs up the most important data..." whereas locally there will be "A full backup..."

Maybe you are looking for

  • Oracle 8.1.6 on Mandrake 7.1b

    Has anyone successfully installed 8.1.6 on the Mandrake 7.1 beta distro? I was running Redhat 6.0 and had it installed, but just upgraded to the newest Mandrake and when I run the installer about 7 threads start up, and I get a grey square (splash sc

  • After 10.5.6 update Mail no longer works

    I just updated to 10.5.6 and now Mail (3.5) no longer works. Just before the 10.5.6 update all Mail functions were working normally. When I launch the program "Mail" appears on the menu bar but no window opens. I can select the message window from th

  • What's Different Between ODI and FDQM ?

    I need to know What's Different Between ODI and FDQM ?

  • Broadband usage contact email

    From the Broadband usage page on My BT I see I've used up over 75% of my 40Gb download allowance and that BT have sent me an email to inform me of that. However the contact email is an old email no longer in use, I can't find anywhere to change it to

  • Mail will not receive messages

    Shortly after installing Security Update 2011-005, Mail stopped receiving messages on all three of my accounts (two Gmail IMAP accounts and one Microsoft Exchange 2007 account). Mail will seemingly download the messages and show progress in the lower