Android :: Stop Auto Screen Rotation In App When Unlocking Phone From Standby
Aug 24, 2010
I have an android application that I want to always be running in landscape mode.
I have the following code implemented to keep the app in landscape mode all the time:
inside my activity in the Application Manifest
android:screenOrientation="landscape"
This seems to launch and keep the application in landscape view for the whole duration of the application. Perfect!
However, if I have the app running on my HTC Aria (Android 2.1) and the phone locks, if I unlock the phone, I see the application for probably half a second and it's in portrait orientation and then quickly switches back to landscape mode. It is quite frustrating because all of my views are jumbled around and it looks unprofessional as you can imagine. This happens in both the emulator and on my real phone.
Does anyone know how to stop the application from temporarily rotating when the phone is unlocked?
I have tried overriding onConfigurationChanged() but with no success.
I have also tried putting setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE); into the onResume() but the app still shows as the incorrect orientation for a split second when the phone is unlocked.
View 3 Replies
Mar 9, 2010
I am working on a home screen widget. I hope this widget can support auto rotation. For example, if the phone is in portrait mode, I want this home screen widget to be 2 cell * 2 cell on the home screen; if the phone is in landscape mode, I want this home screen widget changes be 3 cell * 1 cell on the home screen.
View 2 Replies
View Related
Aug 16, 2010
Since the 2.2 update my screen auto rotation is horrible. When I want it upright, it goes sideways. WHen I hold the phone sideways, it flips the other way. Apps that I open seem to always start out sideways even when the phone is upright. I turn it around, nothing happens. If it does rotate back, it is so delayed you think it is not working. It never seems to be the direction I want it, getting very frustrating and annoying to keep flipping the damn phone around all the time to try to get it right. I sure hope the new FRG22 update, if it ever comes, can fix this problem. So far, 2.2, besides flash, has been a big disappointment for me.
View 27 Replies
View Related
Nov 15, 2012
I've got a Samsung Galaxy III and have problems trying to view images in my gallery using the auto-rotate screen option and rather then having to manuallly press the rotate screen "icon" which does gets annoying. I just want to tilt my phone so the images can automatically change to portrait or landscape on its own depending what angle the phone tilts. I've ensure the auto-rotate screen is checked from Settings under Display and even tried unchecking it and checking it again as well as switching my phone on/off.
NOTE: That the auto-rotate screen option does work fine for me with everything else like watching videos, texting, internet browsing, music and even viewing the overall images in the gallery but when going in and viewing the pictures individually from either the Gallery or the Camera. All I've got is a rotate screen "icon" to press on manually each time I'd like the picture to be portrait and if I want landscape I have to press on the screen rotate icon again. I noticed the auto-rotate screen option doesn't work on my Home Screen and Lock Screen as well but that isn't the main issue.
I've been reading around and tried pulling out my battery on "Odin" mode, wait 30sec-1min then turn my phone on again and that didn't work. I've also did the same procedure and ensure I unchecked the auto-rotate screen option and checked it again after I turned on the phone. I tried the Gyroscope Caliberation option and calibrated it and that didn't work either. My sister has the same phone as me with the same version installed but she doesn't have this problem and I'm wondering if it's something to do with how my phone software's set up?
View 2 Replies
View Related
Nov 24, 2010
New to this forum and back to SE with my Xperia after a few years with LG. Love my fone so far, but had not too much time playing with it so far, but one thing that bugs me is that my screen auto lock straight after a call even if I am not back to my home screen, how can I stop it to do this. Reason is that when I unlock it again, I am at the previous screen, I have then to cancel screens to go back to my home page to start again, this is a pain.
View 2 Replies
View Related
Aug 5, 2010
just wondering if there is an app that makes a sound when ive done my patteren correct and unlocks my phone? some people usually have their phone say something like "Droid" just wondering if theres an app for that, thanks for reading
View 3 Replies
View Related
Aug 20, 2009
I have a apk file, where i dont have the source for it.
When i run the apk, it automatically rotates the screen,
/WindowManager( 879): Setting rotation to 1, animFlags=0 I/WindowManager( 879): Config changed: { scale=1.0 imsi=0/0 locale=en_US touch=1 key=2/1/2 nav=3 orien=1 }
then after closing the application or coming out from the application,
I/WindowManager( 879): Setting rotation to 0, animFlags=0 I/WindowManager( 879): Config changed: { scale=1.0 imsi=0/0 locale=en_US touch=1 key=2/1/2 nav=3 orien=2 }
how to disable the rotation.
View 2 Replies
View Related
May 28, 2010
I have somehow stopped my desire auto rotating to landscape on all screens and I have no idea how to resolve this. I have changed the view on the browser to always be in landscape just to sort out the problem however none of the other apps such as email and photos will rotate... If anyone can tell me where the setting is to restore this i would be very grateful. I have tried google and the user guide but just cant find it.
View 13 Replies
View Related
Aug 17, 2010
The title about sums it up. I'm on Froyo, and would really like an app to stop the damn screen rotating clockwise to the landscape orientation. If there's an option to do it I haven't found it, and if there isn't I may have to find the nearest google employee and yell at him till he fixes it.
I'm not looking for something to lock screen rotation using a toggle, I still want it to rotate anticlockwise.
View 9 Replies
View Related
May 8, 2010
Is it me or you fellow incredible owners as well? And also notice when im about to send a text sometime it highlight the send button even tho I didn't press it. Hope they fix this issue soon its kind of annoying.
View 4 Replies
View Related
Apr 30, 2010
It would be really cool if we can port over the 360 auto rotation from cyanogen on to behold II...
View 3 Replies
View Related
Feb 22, 2012
it is possible to code an app so that it does not rotate if/when the user rotates their device. I have built an app that is designed for portrait view only. When it is flips to landscape, it gets distorted. I have apps on my android that do not rotate when I try to rotate my device.
I am using Eclipse to make my app. I'm hoping it is something that I need to add to the manifest.
View 1 Replies
View Related
Dec 31, 2013
I just unlocked my Galaxy S4 with lates 4.3 OS. The code was accepted (succesful?), after that screen went to my normal desktop, but after a few seconds, then it started to boot, then message showed "erasing", and phone reset to factory settings, so I lost everything. Phone seems fine now, I can make calls and dloading on wifi all apps I lost. But wondering if this was due to lates firmware, or perhaps something went wrong, and still is? I didn't see phone reseting after unlocking on any tutorial videos I watched, but again, those were made way before this lates 4.3 OS. Also, I entered the unlock code with the wifi ON, opposed to instructions.
View 4 Replies
View Related
Oct 26, 2010
This is my first post, after reading helpful posts for many months. I was wondering if anyone knows how to stop the Desire/android from automatically connecting to specific wifi networks. I have a wifi network at home which I want the phone to always connect to when in range. I also have a wifi network at work, that I only want to connect to from time to time to update the calendar and download emails. Currently I have to turn off wifi when at work until I need it, but I've had this working before. I'm on my second Desire as the Orange 2.2 update fubar'd the first , my first phone would always ask me if I wanted to connect to the works wifi, the new one just connects straight away, and it will only be a matter of time before my twitter app gets me into trouble.
View 3 Replies
View Related
Aug 30, 2010
Anyone run into an issue where auto-rotation stopped working?
I uninstalled 3 recently installed apps, but no dice.
Running ADW.Launcher, and it used to rotate fine until last night.
Uninstalled those 3 apps one at a time, with a reboot after each, and nothing.
Sure would hate to have to reinstall the phone from factory wipe...
I did go into ADW.Launcher and disable+enable auto-orientation. Also tried LauncherPro, same results: no rotation. Any apps out there to TEST the built-in sensors, like the orientation sensor?
View 9 Replies
View Related
Jan 17, 2010
Im just curious if anyone else has the same thing. when my droids all closed up and i rotate it to landscape with the keyboard closed and its on the homescreen .. it wont switch to landscape unless i open the keyboard OR i open an app. are they all like this?
View 7 Replies
View Related
Jul 31, 2010
Just got my hands on the SGS and I am really liking it... there is, however, one question... does anyone here experience issues with auto-rotation? For me - sometimes it works - sometimes it doesn't - and I find myself shaking the device to make it work (again - sometimes)... how does this sit with you? Does it ring a bell, or do I have a bad device?
View 6 Replies
View Related
Feb 28, 2010
Just curious about Android OS Auto-Rotation system, and how it matches up to competitors. Before anything I am NOT complaining, just a thought.
So everyone has seen how the Auto-Rotation is on iPhone, Palm Pre' and Android handsets, and I was curious... shouldnt Android phones be able to do this task just as smooth as iPhone and Palm Pre'? Bringing this to my thought was the app "Floating Image". The Auto-Rotation on the app is amazing, and that just shows me, and makes me wonder, why cant all the other apps have the AR as smooth as this? (Even the keyboard). The slow delaying fade away is kind of a drawback (to an extent) know that Im 100% Android is capable of doing over and beyond that.
View 11 Replies
View Related
Nov 21, 2010
This morning I installed update 2.17.61.2 and since then I've noticed a fault with the auto-rotation feature. For things such as internet, SMS inbox, email inbox etc. the screen view is stuck on landscape and will not auto-rotate back to portrait when I tilt the phone
Also I tried playing Teeter and the ball doesn't move no matter how much I tilt the phone. I've tried resetting the G-Sensor Calibration but it doesn't resolve the fault.
View 2 Replies
View Related
Nov 24, 2009
I've had my Hero (G2 T-Mobile UK) for about ten days and feel I made a great choice. However, I noticed today that the auto rotation functionality has stopped. I've checked it is selected in settings and have callibrated too but it no longer works. Also, from the standard music player I cannot get back to the album cover-flo display, only list views and current track etc. The original view of the installed album art you can flick through has gone - or at least I can't find my way back to it. I updated to latest firmware before using the phone and can only think that one of the apps I've loaded has messed up these features? The apps I got were all recommended ones from another thread somewhere so shouldn't be buggy but I did grab about six, one after the other which maybe the problem? The day after installing them I switched the phone on next day and got some kind of reboot screen?? Maybe the phone needs a soft/hard reset but will this wipe it and how do I do it - or should I delete my apps? Hope someone can help cos I love the phone and don't really want to do without these features.
View 11 Replies
View Related
Jan 28, 2012
Is there a way to only have an android device, specifically Acer Iconia A500 running 3.2.1, to only rotate horizontally and not vertically.
View 1 Replies
View Related
Nov 4, 2010
checked the rotation setting but the home page n main menu wouldnt auto rotate though i rotate my x10mini...ONLY the home page n main menu x rotate..others are fine...
View 4 Replies
View Related
Nov 26, 2012
Somedays back My phone just got stuck at the boot animation... So I restored it to its factory rom: upai_n9880I stock rom: 20120804_e1811_v75_jbaol1_g88. But when I went using the camera, the camera was inverted and if I turn in to lanscape, it would rotate but get inverted like in portrait mode. Now the games were also working flipped... The guy in Temple run now turns right if I tilt to the left and so forth.
So I tried flashing the phone with Taiwan upai N9880_ICS_V.01... but the issue remains. I tried reformat the flash and re-installed Taiwan Rom... the issue remians.
View 3 Replies
View Related
Oct 2, 2010
The screen is off, with the phone left in standby mode. Is it normal for it to die that fast.
View 17 Replies
View Related
Feb 8, 2010
Android 2.0.1 provides the feature to slide to turn sound on or off in the unlocking screen, but it seems it isn't possible to turn to vibra mode in this way. Does anyone have some idea?
View 2 Replies
View Related
Mar 10, 2013
I am currently using a Samsung Galaxy Note LTE and this phone is really getting on my nerves. Sometimes I am using an app halfway and it suddenly auto-close for absolutely no reason. Just to note, it's running on Android 4.0.4 ICS. GT-N7005
Maybe I should have bought an GS3 or something else other than this garbage.
View 9 Replies
View Related
Aug 12, 2010
Had my phone on standby for 10 hours and it lost 30 percent battery life.......... had WiFi gps Bluetooth auto syncing off and used advanced task killer before putting it in standby! is that normal?
View 9 Replies
View Related
Apr 1, 2009
Recently, I have tried to know what would happen to an alive thread, when the device goes to sleep. I program a simple activity that will create and start a thread printing "HERE AM I" repeatedly through Log.d. I expect the thread would be stopped after I "echo standby > /sys/android_power/request_state." The screen is off, but the thread still keeps alive and prints out "HERE AM I." I don't know why the thread can't be stopped. I test this through emulator (1.5cupcake) and G1(1.1?), but the results are the same. Could anyone give me some suggestions or hints about this question?
View 3 Replies
View Related
Aug 5, 2010
Can you find out wot is stopping the phone from sleeping, also in the battery history the "time spent with screen on" is on 32m.44s yet the phone has been in standby for the last hr and half, can anyone tell me why this is.
View 1 Replies
View Related
Mar 31, 2010
For example, I want to write an activity that launches when you return from sleep (black screen). How can I set this activity to run instead of the default one? In other words, I want to make a custom lock screen.
View 1 Replies
View Related