App orientation based on device type

Hi,

I am looking for a solid solution to a problem where I need to have one app which is in portrait on phone and landscape on tablet. 

Is it possible to have it that way on android and iOS?

Select a fixed orientation in build.settings, then put all your content in a group and rotate it.  

There will me more to it than that.

Note: You cannot select build.settings orientations dynamically.

Rotation has too many problems: android virtual buttons, layouting, touch etc.

I know that it is not possible from settings point, but because  in native we can acces all native code can we not launch corona before we set orientation in java in android? And then we set orientation then start corona?

It might be possible using native for Android.  For iOS since native doesn’t use build.settings (for the most part), you can give iPads and Phone different orientations.

I didn’t see an open feature request at http://feedback.coronalabs.com for this searching for orientation. I know it’s been asked for in the forums before, but we don’t track feature requests here.  Please do a better search than I did on the feedback site and if you don’t find a request for this, create one and get it voted up. If there is one, vote it up.

Rob

Thanks,

I coulnd not find anything like that in feature request, so here it is: 

http://feedback.coronalabs.com/forums/188732-corona-feature-requests-feedback/suggestions/32400574-app-orientation-based-on-device-type

Select a fixed orientation in build.settings, then put all your content in a group and rotate it.  

There will me more to it than that.

Note: You cannot select build.settings orientations dynamically.

Rotation has too many problems: android virtual buttons, layouting, touch etc.

I know that it is not possible from settings point, but because  in native we can acces all native code can we not launch corona before we set orientation in java in android? And then we set orientation then start corona?

It might be possible using native for Android.  For iOS since native doesn’t use build.settings (for the most part), you can give iPads and Phone different orientations.

I didn’t see an open feature request at http://feedback.coronalabs.com for this searching for orientation. I know it’s been asked for in the forums before, but we don’t track feature requests here.  Please do a better search than I did on the feedback site and if you don’t find a request for this, create one and get it voted up. If there is one, vote it up.

Rob

Thanks,

I coulnd not find anything like that in feature request, so here it is: 

http://feedback.coronalabs.com/forums/188732-corona-feature-requests-feedback/suggestions/32400574-app-orientation-based-on-device-type