Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Oct 2008

    How to pause video on Menu click?


    I want my video paused on Menu click and plpay from the point where it has been stopped.
    Currently whats happening is when i click menu video will be playing in the background.

    Can any one suggest solution.



  2. #2
    Super Contributor
    Join Date
    Nov 2003
    Bangalore , India

    Re: How to pause video on Menu click?

    IMHO, the first thing to do here in the app is to identify as soon as the display has been changed - If in Canvas you can use hideNotify() and if in Form, use isShown() to identify the display chanage and pause the Video using stop() . Once control is back to the MIDlet, you can call start() - If the Player was previously stopped by calling stop or reaching a preset stop time, it will resume playback from where it was previously stopped.

    Here the resources are not released; if you are developing a resource hungry app, you have to plan it accordingly.


Similar Threads

  1. How i can link our menu click to my case..
    By SymbianSangeet in forum Symbian
    Replies: 0
    Last Post: 2010-06-12, 09:27
  2. joystick righ click and left click and right menu option
    By omoshtagh in forum Mobile Java General
    Replies: 3
    Last Post: 2009-03-18, 08:56
  3. Pause video recording
    By snoopyAU in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2008-09-01, 15:21
  4. How to pause aplication when entering menu?
    By flaku in forum Symbian User Interface
    Replies: 2
    Last Post: 2007-09-18, 15:24
  5. how to show image on a menu click?
    By bharats in forum Symbian
    Replies: 3
    Last Post: 2007-04-03, 13:09

Posting Permissions

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