×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    May 2011
    Posts
    11

    Unhappy Can't catch the "End_Of_Media" state when player is over

    Hi,My phone is Nokia6260s.After playing a video it should be "End_Of_Media" state,but I can't!
    Is there any way to deal with it?

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

    Re: Can't catch the "End_Of_Media" state when player is over

    Quote Originally Posted by cmmx207 View Post
    Hi,My phone is Nokia6260s.After playing a video it should be "End_Of_Media" state,but I can't!
    Is there any way to deal with it?
    Have you added the PlayerListener to the player using the implements PlayerListener?
    if no then add the same and implement the method and use like this:

    public void playerUpdate(Player player,
    String event, Object data) {
    if(event == PlayerListener.END_OF_MEDIA) {
    try {
    defplayer();
    }
    catch(MediaException me) {
    }
    reset();
    }
    }
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  3. #3
    Registered User
    Join Date
    May 2011
    Posts
    11

    Re: Can't catch the "End_Of_Media" state when player is over

    Yeah,I think it's a buggy of the phone.And I have deal with it use the time of the video~

Similar Threads

  1. Is there a way to "edit" and "save" the "texts" of received SMS messages?
    By pamir_yasti in forum General Development Questions
    Replies: 1
    Last Post: 2010-07-16, 10:15
  2. "Assert Failed" when starting the player
    By lamiaaMB in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2008-04-21, 21:43
  3. can v get sender number/address when new entry of SMS is in "preparing" state?
    By nakummitul in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2007-07-28, 20:38
  4. can't catch END_OF_MEDIA when play .3gp peices
    By beb in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2007-04-10, 06:57
  5. Replies: 3
    Last Post: 2006-11-30, 14:30

Posting Permissions

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