×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Dec 2008
    Posts
    2

    Exclamation Problem with player resuming at Nokia 5800

    I've got a problem with audio player at Nokia 5800. I'm using this code for play/pause functionality. My application works fine at emulator and at other devices but at Nokia 5800 setMediaTime() doesn't work - track starts from the beginning. And after several pause/play calls - player stops reacting at all! I'm playing 3gpp files.

    Code:
    	public void pausePlay() {
    	try {
    	if(!paused) {					
    		timeStamp = player.getMediaTime();
    		text.setString("getMediaTime "+timeStamp);
    		player.stop();					
    		paused = true;
    	} else {
    		player.setMediaTime(timeStamp);
    		text.setString("setMediaTime "+timeStamp);
    		player.start();
    		paused = false;
    	}
    	} catch (MediaException e) {				
    		e.printStackTrace();
    	}
    }
    Does anyone have the same problems or know the workaround?

  2. #2
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: Problem with player resuming at Nokia 5800

    Hello Asgard83,

    tested this with and without SIM, and the player did play fine with the SIM.

    Do you have SIM card inside of 5800 XM when testing this?

    Regards,
    r2j7
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

  3. #3
    Registered User
    Join Date
    Dec 2008
    Posts
    2

    Re: Problem with player resuming at Nokia 5800

    Hello r2j7,

    can you tell me your 5800 firmware version ?

    I've used 5800 with SIM.
    Last edited by Asgard83; 2008-12-11 at 13:53. Reason: extra information

Similar Threads

  1. Python S60 Emulator
    By NAYSAMBO in forum Symbian
    Replies: 25
    Last Post: 2009-04-08, 10:22
  2. which phones for laptop
    By dvdljns in forum PC Suite API and PC Connectivity SDK
    Replies: 2
    Last Post: 2006-02-14, 12:58

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×