×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    4

    N97/5800 Video Player in Portrait and Landscape mode help!

    Hello,

    I'm developing a small application that should display a simply video into a Form.
    Everything works fine but when I rotate my 5800 (or when I open the keyboard on my N97) the playing video disappears and reappers when it loops only.

    Any idea?

    Maybe the problem is that I'm using a Form?

    Many thanks,

  2. #2
    Regular Contributor
    Join Date
    Mar 2008
    Posts
    62

    Re: N97/5800 Video Player in Portrait and Landscape mode help!

    Hi,

    Nokia 5800 phone support the Landscape and portrait mode. When you rotate your phone your, the phone mode has been changed.
    You need the handle this mode change with the help of your code.


    Hope this help you.


    Thanks
    Avdhesh

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    4

    Re: N97/5800 Video Player in Portrait and Landscape mode help!

    Thanks for the reply, but this doesn't help ... the problem is that the video disappears when I rotate the phone and reappers when it loops.
    I'm using a Form and so everything should be managed automatically, it seems the Form is losing focus or the video is rendered somewhere else ...

  4. #4
    Super Contributor
    Join Date
    Sep 2008
    Location
    Noida, U.P.
    Posts
    1,330

    Thumbs up Re: N97/5800 Video Player in Portrait and Landscape mode help!

    Quote Originally Posted by laker View Post
    Thanks for the reply, but this doesn't help ... the problem is that the video disappears when I rotate the phone and reappers when it loops.
    I'm using a Form and so everything should be managed automatically, it seems the Form is losing focus or the video is rendered somewhere else ...
    what u can do one thing is ..
    Take a Canvas and play ur video over Canvas. Continuously check the height and width of the screen with the playing video.
    As u get deifference in height and width of screen(definitely everytime when u rotate it..), Stop the player for a while(just stop the player , dont close or deallocate it..) reset the location and display size of VideoControl and again starts the player..

    Check and reply..
    thanks,
    jitu_goldie..

    KEEP TRYING..

  5. #5
    Registered User
    Join Date
    Oct 2008
    Posts
    7

    Re: N97/5800 Video Player in Portrait and Landscape mode help!

    to solve this problem

    Nokia-MIDlet-App-Orientation: landscape
    Nokia-MIDlet-App-Orientation: portrait

    jad parameter

    use any one parameter in manifest file or as jad parameter ur application will either run only in one mode even if u rotate the screen

    can u plz help me solve my below problem



    Hi All

    To be frank i dont know any thing about network connection in J2ME.

    I want to develop a application were in i can send instant msg between two cell phone like how we chat in Yahoo or Gtalk.

    i want certain question need to be answered

    1. What kind of connection need to be used ?
    2. Is there any need server between sender and receiver to implement this kind of
    application ?
    3. How to identity the end points (sender and receiver )?
    4. Is there any specific JSR support for this kind application or JSR number?
    5. Can any one provide JSR no to implement this kind application.

    Note : application should not depend on message connection or Bluetooth connection to send and receive msg.

    it should be live chat between to two user using this application.

    if there are any document that can help to develop this kind application ca you plz mail to ashok_kumar_rr@yahoo.com.


    plz help me out.

    Thanks
    Ashok

Similar Threads

  1. Stop Switching from Portrait to Landscape mode
    By Ashish Gupta in forum Mobile Java Media (Graphics & Sounds)
    Replies: 5
    Last Post: 2009-06-30, 10:04
  2. Replies: 0
    Last Post: 2008-11-07, 21:18
  3. skinning in landscape mode.
    By ravinder007 in forum Symbian
    Replies: 0
    Last Post: 2007-01-24, 11:01
  4. N93 video output and landscape mode.
    By Peter_Eskolin in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2006-11-23, 21:54
  5. Video landscape mode
    By sigrem in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2006-01-20, 00:15

Posting Permissions

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