Is there any way to set the landscape screen mode, use code or function?

Could anyone give an example or a code that set the mode automatically …
thanks [import]uid: 1249 topic_id: 872 reply_id: 300872[/import]

Hi fernando,

here is how I would do it:

http://developer.anscamobile.com/forum/2010/04/29/orientation-change-touch-coordinate-modification

[import]uid: 5712 topic_id: 872 reply_id: 1956[/import]

Hi,
thanks! [import]uid: 1249 topic_id: 872 reply_id: 1959[/import]

By the way, you can set the default orientation for your app using the new build.settings file in Corona 2.0. Be advised 2.0 is still in BETA.

Here’s an example of what you would put in your build.settings file.

-- build.settings  
  
settings =  
{  
 orientation =  
 {  
 default = "landscapeRight",  
 },  
}  

This is only for Corona 2.0. This will not work in Corona 1.1.

Here’s more info about the 2.0 BETA: http://anscamobile.com/faq/#corona2beta

-Gilbert
[import]uid: 5917 topic_id: 872 reply_id: 2553[/import]

This file cause massive slow down on Android. Is there some other effective way to rotate the screen?
[import]uid: 27699 topic_id: 872 reply_id: 23532[/import]