JCGTS
Aspiring developer
Profile
Posts: 31
Reg: Jun 17, 2013
McIntosh
5,610
07/02/13 11:53 AM (12 years ago)

screen orientation to sensor, not just portrait

Hi all: Kind of a newbie, but have most of it figured out. Before coming to buzztouch, I made apps in appsinventor. On their screen, you can choose sensor under screen orientation. The app will then show in portrait, or if you turn the phone sideways, it will automatically adjust to horizontal. Could someone please tell me what code to use in eclipse that will provide those results? If you can, could you tell me exactly where to put the code? Thanks
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
07/02/13 12:34 PM (12 years ago)
You can adjust the rotation behavior in your project's "Core" settings in the control panel. You can choose between "All devices rotate" or "Only large devices rotate" Hope this helps.
 
JCGTS
Aspiring developer
Profile
Posts: 31
Reg: Jun 17, 2013
McIntosh
5,610
like
07/02/13 01:06 PM (12 years ago)
Hi: I have done that on every app I have made, and it still only allows portrait, at least on my android and on my bosses as well. Other apps and websites on my phone work in both portrait and landscape, but not apps made with buzztouch, even with the all devices rotate selected. Thanks
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.