×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jun 2011
    Posts
    3

    problems in resuming player when stoped in playing mp3

    HI,
    i have written a audio player to play mp3 files. when repeatedly stoped and started the player by calling
    player.stop() and player.start() , the player gets in stared state and gets struck at the stoped time.

    did anyone face the same issue? can anyone please point to me to the solution.


    --thanks

  2. #2
    Registered User
    Join Date
    May 2011
    Posts
    23

    Re: problems in resuming player when stoped in playing mp3

    you can try function createPlayer(inputstream,"audio/x-wav") instead of using createPlayer(url);

  3. #3
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: problems in resuming player when stoped in playing mp3

    Quote Originally Posted by one_raghav View Post
    HI,
    i have written a audio player to play mp3 files. when repeatedly stoped and started the player by calling
    player.stop() and player.start() , the player gets in stared state and gets struck at the stoped time.

    did anyone face the same issue? can anyone please point to me to the solution.


    --thanks
    Welcome to the Nokia Developer Boards !!

    How frequent are you doing that, start and stop?
    Which device are you testing the app with?
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  4. #4
    Registered User
    Join Date
    Jun 2011
    Posts
    3

    Re: problems in resuming player when stoped in playing mp3

    i am using createPlayer(inputstream,"audio/mp3")

    i made a seek method to provide seek functionality. just like we select in middle of the song from seekbar on a general music player.
    when i repeatedly do this seek or or if i press pause play repeatedly , i mean stop()/start() , the player is entering Player.STARTED mode ,
    but the media time is not moving forward and no sound is audible showing the player is not playing

Similar Threads

  1. Playing mp3 files on memory card using Player class in MMAPI
    By ZeeZuLander in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2010-08-16, 07:08
  2. how to play mp3 in the default player in phone
    By elite08 in forum Symbian Media (Closed)
    Replies: 0
    Last Post: 2010-02-22, 10:50
  3. Replies: 2
    Last Post: 2009-10-06, 10:47
  4. problem in mp3 player
    By punit4me in forum Mobile Java General
    Replies: 1
    Last Post: 2007-12-08, 10:14
  5. problem in playing mp3 in 6230i
    By dd_dd in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2007-04-04, 10:53

Posting Permissions

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