Discussion Forums  >  Uncategorized

Replies: 9    Views: 239

MyPC Solutions
buzztouch Evangelist
Profile
Posts: 65
Reg: Sep 19, 2011
Colorado Spring...
1,450
09/27/11 08:30 AM (12 years ago)

Main page tilt effect not working (Tablet or phone)

After I startup my app on my phone or tablet, if I tilt or rotate my tablet or phone sideways (horizontal) the main app screen does not rotate. However, all the other screens rotate just fine. Is there a line of code I am missing to allow for the rotate ability on the main screen? Using Eclipse, Google API 1.6, HTC Evo 4G and ASUS Transformer.
 
MyPC Solutions
buzztouch Evangelist
Profile
Posts: 65
Reg: Sep 19, 2011
Colorado Spring...
1,450
like
09/27/11 08:51 AM (12 years ago)
Update: All the other screens do not rotate. Only the screens that have the actual full content rotate. How do I get the Menu and sub menu title screens to rotate?
 
theGreek
Aspiring developer
Profile
Posts: 648
Reg: May 25, 2011
Schaumburg, IL
7,830
like
09/27/11 12:05 PM (12 years ago)
In the Manage Core Properties you will find Allow / Prevent Rotation (landscape, portrait). I beleive that is what you are looking for. I have aMotorola zoom and all screens rotate to landscape just fine. This of course is for android v1.5
 
MyPC Solutions
buzztouch Evangelist
Profile
Posts: 65
Reg: Sep 19, 2011
Colorado Spring...
1,450
like
09/27/11 12:07 PM (12 years ago)
Is Manage Core Properties something I will find in Eclipse? Or is this a feature for the Buzztouch 1.5?
 
theGreek
Aspiring developer
Profile
Posts: 648
Reg: May 25, 2011
Schaumburg, IL
7,830
like
09/27/11 03:39 PM (12 years ago)
it's in Buzztouch 1.5? under the Application Control Panel.
 
MyPC Solutions
buzztouch Evangelist
Profile
Posts: 65
Reg: Sep 19, 2011
Colorado Spring...
1,450
like
09/27/11 05:01 PM (12 years ago)
I am still on 1.4 so I guess I have to wait :(
 
MyPC Solutions
buzztouch Evangelist
Profile
Posts: 65
Reg: Sep 19, 2011
Colorado Spring...
1,450
like
09/28/11 03:32 PM (12 years ago)
Actually, how do I correct this in v1.4 being that 1.5 probably won;t be out for a while?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
09/29/11 03:58 AM (12 years ago)
Probably the best thing to do, in v1.4, is update the AndroidManifest.xml file. It's not hard to control the screen rotations... http://stackoverflow.com/questions/2730855/prevent-screen-rotation-android
 
MyPC Solutions
buzztouch Evangelist
Profile
Posts: 65
Reg: Sep 19, 2011
Colorado Spring...
1,450
like
10/01/11 04:06 PM (12 years ago)
I have changed my setting to: android:screenOrientation=sensor instead of portrait but it still does not tile when I turn my phone sideways any ideas?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
10/02/11 07:55 PM (12 years ago)
Not sure, can't remember. Maybe try removing android:configChanges=orientation anywhere you see it in the manifest. v1.4 is not designed to rotate, if you want to rotate you'll need to experiement with these settings and see what results you get. Do a google search for Anroid Rotation and review the tons of articles aboue the topic ;-)
 

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.