×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    37

    Disable screen orientation change

    Hi,

    I am creating a calculator application in flash lite, it has been designed for portrait mode, but when I test it out on Nokia 5800 and flip the device (portrait to landscape), flash player changes the orientation to landscape making my application look awful. Is there any way I can disable this orientation change by flash player.

    Thanks,
    Shankx

  2. #2
    Registered User
    Join Date
    Mar 2009
    Posts
    37

    Re: Disable screen orientation change

    Hi,

    I found my answer at http://wiki.forum.nokia.com/index.ph...e_applications. It's not possible to keep the application in portrait mode when flipping.

    Shankx

  3. #3
    Regular Contributor
    Join Date
    Feb 2007
    Posts
    89

    Re: Disable screen orientation change

    There is no direct method; but you can always flip it back whenever an orientation change occurs. Say if your phone is rotated -90 degrees; rotate your movie by 90 degrees.
    Follow me on Twitter [url]www.twitter.com/ugurkaner[/url]

    Create sexiest Symbian apps faster & easier [url]www.kunerilite.net[/url]
    Turn your Joomla! website into a mobile site instantly [url]www.mobilejoomla.com[/url]

  4. #4
    Regular Contributor
    Join Date
    Feb 2007
    Posts
    89

    Re: Disable screen orientation change

    I posted a quick hack for that, let me know if it works for you.

    http://bloggy.kuneri.net/2009/04/23/...te-nokia-5800/

    cheers,

    Ugur.-
    Follow me on Twitter [url]www.twitter.com/ugurkaner[/url]

    Create sexiest Symbian apps faster & easier [url]www.kunerilite.net[/url]
    Turn your Joomla! website into a mobile site instantly [url]www.mobilejoomla.com[/url]

  5. #5
    Registered User
    Join Date
    Apr 2009
    Posts
    2

    Re: Disable screen orientation change

    The stage doesn't seem to dispatch the on onResize event when i rotate the 5800 to horizontal. Anyone managed to see this?

  6. #6
    Registered User
    Join Date
    Jan 2008
    Location
    Spain
    Posts
    54

    Re: Disable screen orientation change

    Hi, I have tried this kind of solution with 5800 and it worked for me.

    I developed an experimental LayoutManager some time ago with capabilities to react against orientation and size changes of the screen (http://opensource.blocketpc.com/en/layoutmanager/). Recently, I have tested it with 5800 and it works pretty well, so I think your problem is in the code, because 5800 dispatches properly the onResize method when the Stage changes the orientation or size.

Similar Threads

  1. How to disable screen saver using J2ME
    By mzaharenkov in forum Mobile Java General
    Replies: 3
    Last Post: 2012-09-06, 13:57
  2. Disable Screen Command
    By devdattac in forum Mobile Java General
    Replies: 4
    Last Post: 2008-10-22, 16:04
  3. change the video screen size
    By deepakk in forum Symbian Media (Closed)
    Replies: 10
    Last Post: 2008-07-21, 12:46
  4. how to change Screen from Form to FullCanvas
    By ihadreampp in forum Mobile Java General
    Replies: 3
    Last Post: 2003-08-15, 08:50
  5. How to change screen from canvas?
    By lightpop in forum Mobile Java Media (Graphics & Sounds)
    Replies: 4
    Last Post: 2003-08-07, 13:04

Posting Permissions

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