Everyone knows how annoying default Android rotation algorithm can be. So we tried to come up with better solution and this is how GMD Smart Rotate was created. It is co-developed by me and Vitalij (developer of Touch Screen Tune).
Smart screen rotation using front facing camera.
Smart keeping screen on using front facing camera.
This application replaces default Android screen rotation and add smart features:
- Use front facing camera to evaluate your face position and decide if device screen needs to be rotated.
- Automatically keep screen turned on while you are looking at it (Full version only).
- Lock rotation in landscape or portrait.
- Force rotate applications that does not allow rotation by default.
- Set per application rotation preferences (Full version only).
- Easy rotation preference access by pressing default Android lock rotation toggle.
- Rotation preferences widget and launcher shortcuts.
- Clockwise and Counterclockwise rotation shortcuts.
- Integrates with GMD GestureControl and GMD SPen Control using shortcuts.
Development version - may contain bugs!
Tested and working on:
- Samsung Galaxy S
- Samsung Galaxy S2
- Samsung Galaxy S3
- Samsung Galaxy Tab 10.1
- Samsung Tab 7.7
- Samsung Note1
- Samsung Note2
- Nexus 7
- Xoom
- HTC One X
- Motorola Atrix
- Nexus S
- Galaxy Nexus, Verizon Galaxy Nexus
- Droid Incredible 2
- Sony Xperia
- Sony Xperia Mini Pro
Reserved...
Tried it on a P7500 tab and it doesn't work correctly. I get the correct toast message from the accelerometer (0, 90, 180, 270) but the screen doesn't turn, or, if it rotates, it remains on that position.
ungureanuc said:
Tried it on a P7500 tab and it doesn't work correctly. I get the correct toast message from the accelerometer (0, 90, 180, 270) but the screen doesn't turn, or, if it rotates, it remains on that position.
Click to expand...
Click to collapse
Is it in launcher? By default Smart Rotate does not force rotation in applications that do not support rotation (same way like Android default rotation). If you want to force it you have to check 'Force rotate'.
StupidIdea said:
Is it in launcher? By default Smart Rotate does not force rotation in applications that do not support rotation (same way like Android default rotation). If you want to force it you have to check 'Force rotate'.
Click to expand...
Click to collapse
No, is not in an app, I just installed the apk and I've found that "issue" on the default screen, using Apex Pro. But I have started Maxthon browser and had same issue. As I aid, toast indicates correct rotation message, but it doesn't rotate accordingly.
Thanks for quick reply and if there's anything else, I'd be glad to be considered a "tester".. :good:
I cannot install the app on my N7. But somehow the key to unlock it
But all I can say. Nice app. Keep on developing i like your other apps as well.
Sent from my Nexus 7 using xda premium
greivel2 said:
I cannot install the app on my N7. But somehow the key to unlock it
But all I can say. Nice app. Keep on developing i like your other apps as well.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Thats strange, I developed in on N7 but havent tried to download from market yet. I will upload apk to XDA when I'm home.
Same key will work, if anything.
ungureanuc said:
No, is not in an app, I just installed the apk and I've found that "issue" on the default screen, using Apex Pro. But I have started Maxthon browser and had same issue. As I aid, toast indicates correct rotation message, but it doesn't rotate accordingly.
Thanks for quick reply and if there's anything else, I'd be glad to be considered a "tester".. :good:
Click to expand...
Click to collapse
Could you try unchecking 'Smart Rotate use camera". I'm wondering if camera fails to get image. There are some technical difficulties acquiring image without keeping camera locked, but we solved it on every device we had available for testing. I will try to get my hands on P7500 and check what is going on. What ROM you use?
StupidIdea said:
Thats strange, I developed in on N7 but havent tried to download from market yet. I will upload apk to XDA when I'm home.
Same key will work, if anything.
Could you try unchecking 'Smart Rotate use camera". I'm wondering if camera fails to get image. There are some technical difficulties acquiring image without keeping camera locked, but we solved it on every device we had available for testing. I will try to get my hands on P7500 and check what is going on. What ROM you use?
Click to expand...
Click to collapse
Using Toldo's v7. (ICS). I'll try your suggestion and report back.
LE With "smart rotate using camera" off, it rotates normally, except the position 180° (upside down); here it turns to normal position (0*°). As said, the toast message display correct position of the rotation.
The same in maxthon browser.
L. L. E.g. forgot to mention, with "smart rotate using camera" enabled, the tab freezes and had to reset by button.
I too am using a galaxy tab 10.1 (P7500) on the CM10 nightlies
and the screen sticks when Smart rotate using camera is checked
can you add an auto landscape/portrait(only landscape or only portrait)
and it doesn't rotate 180
DHM47 said:
I too am using a galaxy tan 10.1 (P7500) on the CM10 nightlies
and the screen sticks when Smart rotate using camera is checked
can you add an auto landscape/portrait(only landscape or only portrait)
Click to expand...
Click to collapse
Click notification to open rotation dialog.
You can choose auto rotate, portrait or landscape. If you check 'Force" it will rotate even apps that do not support rotation.
If you check 'Default for this app" it will remember this setting for current application only.
Is this what you were looking for?
I have an idea what might be wrong with camera I will upload test version when I'm home.
Nice, really appreciate you porting the few (only?) Samsung features I actually like: do you need a hand with app translation (Italian over here)? Maybe you opened a getlocalization.org project already?
teorouge said:
Nice, really appreciate you porting the few (only?) Samsung features I actually like: do you need a hand with app translation (Italian over here)? Maybe you opened a getlocalization.org project already?
Click to expand...
Click to collapse
Great idea, I will open a project there and post it here. Thanks.
ungureanuc said:
Tried it on a P7500 tab and it doesn't work correctly. I get the correct toast message from the accelerometer (0, 90, 180, 270) but the screen doesn't turn, or, if it rotates, it remains on that position.
Click to expand...
Click to collapse
I have the same problem. When smart rotate using camera is on apps don't rotate. Or if they do, they remain in the same position.
When smart rotate using camera is switched off apps rotate. But it also rotates the home, while force rotate is unchecked in options. And I have not set defaults for any app yet.
One more question: when you open default settings a small dialog appears with 4 buttons. What's the last one on the right for?
Thanks for another smart idea!
Sent from my EndeavorU using xda premium
tiho5 said:
I have the same problem. When smart rotate using camera is on apps don't rotate. Or if they do, they remain in the same position.
When smart rotate using camera is switched off apps rotate. But it also rotates the home, while force rotate is unchecked in options. And I have not set defaults for any app yet.
One more question: when you open default settings a small dialog appears with 4 buttons. What's the last one on the right for?
Thanks for another smart idea!
Sent from my EndeavorU using xda premium
Click to expand...
Click to collapse
If your launcher supports rotation then it does rotate even without "force". You can still set per app setting for launcher. Last button opens application preferences. This is mostly useful if you want to manage per app settings for all apps.
StupidIdea said:
If your launcher supports rotation then it does rotate even without "force". You can still set per app setting for launcher. Last button opens application preferences. This is mostly useful if you want to manage per app settings for all apps.
Click to expand...
Click to collapse
No, my launcher is not supporting rotation but is rotated.
Sent from my EndeavorU using xda premium
tiho5 said:
No, my launcher is not supporting rotation but is rotated.
Sent from my EndeavorU using xda premium
Click to expand...
Click to collapse
Thank I already know why it is happening. Will fix it later today
StupidIdea said:
Click notification to open rotation dialog.
You can choose auto rotate, portrait or landscape. If you check 'Force" it will rotate even apps that do not support rotation.
If you check 'Default for this app" it will remember this setting for current application only.
Is this what you were looking for?
I have an idea what might be wrong with camera I will upload test version when I'm home.
Click to expand...
Click to collapse
Sorry what i meant was the 180 rotation (reverse landscape )
DHM47 said:
Sorry what i meant was the 180 rotation (reverse landscape )
Click to expand...
Click to collapse
If you set for example Portrait then application will automatically rotate by 180 degree to inverse Portrait and back according to accelerometer. However if your device does not support inverse or application does not support rotation you have to check 'Force'. Same for Landscape.
Is that what you were looking for?
Update to 1.1
Update:
1.1
- Fixed: camera detection was not working on some devices.
- Do not rotate Home screen if it does not support rotation and "force" is not checked.
Uploaded APK in first post. Suspended market application till issues are solved.
StupidIdea said:
Update:
1.1
- Fixed: camera detection was not working on some devices.
- Do not rotate Home screen if it does not support rotation and "force" is not checked.
Updated Play Store and attached APK in first post.
Click to expand...
Click to collapse
Now it works with "smart rotate use camera", except for 180°, it stays on 0° (accelerometer and camera toast messages shows 180°).
L.E. Found something else... When I want to type something, even it is a mail, in browser or sms the tab is freezing with swype and the SmartRotate shuts down. Switched to default Samsung keyboard, the app doesn't freeze the tab, but now i cannot switch to other input method (from the status bar quick icon).
I also tried to force rotate the app "Awesome On Off" which is by default in portrait mode, the app is not switching to landscape and the SmartRotate app is shutting down...
Hello.I have a device that in normal mode with screen rotation disabled is in landscape and when i enable screen rotation i can use this device in portrait;how i can change standart screen to be portrait( a system file,line of code,etc..)?
Thanks!
what device?
what rom?
anyways try enabling screen rotation, then rotate screen to portrait, then disable screen rotation while its portrait... at least that's how i do in my n5100.
Reply
alinpha said:
what device?
what rom?
anyways try enabling screen rotation, then rotate screen to portrait, then disable screen rotation while its portrait... at least that's how i do in my n5100.
Click to expand...
Click to collapse
My device "it's exoticaly" and can't be buyed from any place.And i have android 4.0.4 official rom(without mods and all other like this)is rooted.
If i rotate my device to portrait when i have enabled screen rotation it go on portrait and when i disable that option screen goes back in landscape.
Does is any line of code that make a device to be standard in landscape or portrait?
then maybe you should install app that controls screen orientation..
there are many of a kind at google play.
https://play.google.com/store/apps/details?id=bong.android.androidlock&hl=en
https://play.google.com/store/apps/details?id=nl.fameit.rotate&hl=en
Thanks
alinpha said:
then maybe you should install app that controls screen orientation..
there are many of a kind at google play.
https://play.google.com/store/apps/details?id=bong.android.androidlock&hl=en
https://play.google.com/store/apps/details?id=nl.fameit.rotate&hl=en
Click to expand...
Click to collapse
Thanks alot men.Can you help me with this big problem http://forum.xda-developers.com/showthread.php?t=2532049.:confused::rolleyes::crying:
When i watch something on netflix that has HDR - it turns on by default my video setting on HDR. The thing is - i do not like HDR at all..makes my picture darker like there is a tinted glass directly stuck on my screen. Is there a way of turning off HDR feature specifically for netflix app.
Model is 49UH668V with latest webos?
Hello?
You can set HDR off in your TV setting (in my case). You have to try searching in setting menu. I´m not sure where it is but the display menu is the right one where should be...
BeriCud said:
You can set HDR off in your TV setting (in my case). You have to try searching in setting menu. I´m not sure where it is but the display menu is the right one where should be...
Click to expand...
Click to collapse
Okay... could you please take your time and check where it is exactly ?
megamongo said:
Okay... could you please take your time and check where it is exactly ?
Click to expand...
Click to collapse
Setting => display setting => Advanced display setting => HDMI ULTRA HD Deep Colour (it´s translation from Czech menu so it probably not proper translation but HDMI ULTRA HD Deep Colour it´s what you have to find.) There you can choose which HDMI will have HDR.
You might not be able to turn hdr off if you are using the netflix app on the tv since the tv doesn't use the hdmi port. If you use a chromecast or something plugged into an hdmi port you can disable it there.
On Android 10, the navigation bar is not hidden when in full screen mode. Both the 2 buttons one, and the one button (only gestures). Other video app's don't have such an issue. Please fix that, because now the app doesn't use all the available part of the screen in full screen mode.
I use a Nokia 6.2, with a FHD+ display (2340x1080).
skyhirules said:
On Android 10, the navigation bar is not hidden when in full screen mode. Both the 2 buttons one, and the one button (only gestures). Other video app's don't have such an issue. Please fix that, because now the app doesn't use all the available part of the screen in full screen mode.
I use a Nokia 6.2, with a FHD+ display (2340x1080).
Click to expand...
Click to collapse
Could please you check again after enabling the full-screen mode from Settings > Player > screen? It may fix your issues.
MXPlayer said:
Could please you check again after enabling the full-screen mode from Settings > Player > screen? It may fix your issues.
Click to expand...
Click to collapse
Already enabled...
MXPlayer said:
Could please you check again after enabling the full-screen mode from Settings > Player > screen? It may fix your issues.
Click to expand...
Click to collapse
skyhirules said:
Already enabled...
Click to expand...
Click to collapse
Any intention for a reply...???
Hello, I use custom port rom on my phone. Google Play Store detects my phone as a tablet and apps behave this way. For example, Spotify does not allow me to use the canvas feature for this reason. Can I manipulate this situation from system files such as Build.prop?
It doesn't matter whether Android device's type is phone or tablet: If SU-binary ( ~ 120 KB ) is present in Android OS, Android is rooted.
jwoegerbauer said:
It doesn't matter whether Android device's type is phone or tablet: If SU-binary ( ~ 120 KB ) is present in Android OS, Android is rooted.
Click to expand...
Click to collapse
I guess I couldn't explain my problem. Since it appears as a tablet, the applications also change their interface and features according to the tablet. You can see this clearly from the screenshots on the store page and on the player of Spotify.
Google should understand that this is a phone. Can I do this by changing things?
h0nor said:
I guess I couldn't explain my problem. Since it appears as a tablet, the applications also change their interface and features according to the tablet. You can see this clearly from the screenshots on the store page and on the player of Spotify.
Google should understand that this is a phone. Can I do this by changing things?
Click to expand...
Click to collapse
Google doesn't care whether the Android device's type is a tablet or a phone.
The main difference between tablet and phone is that with a tablet its default display mode is landscape mode, that with a phone its default display mode is portrait mode. Hence it's on you to switch among these modes if necessary.
More info here:
How to Switch to Portrait or Landscape Mode on Android: 5 Steps
This wikiHow teaches you how to unlock your Android's screen orientation so that you can switch from Portrait (vertical) mode to Landscape (horizontal) mode simply by rotating your Android. On most versions of Android, it is not possible...
www.wikihow.com
jwoegerbauer said:
Google doesn't care whether the Android device's type is a tablet or a phone.
The main difference between tablet and phone is that with a tablet its default display mode is landscape mode, that with a phone its default display mode is portrait mode. Hence it's on you to switch among these modes if necessary.
More info here:
How to Switch to Portrait or Landscape Mode on Android: 5 Steps
This wikiHow teaches you how to unlock your Android's screen orientation so that you can switch from Portrait (vertical) mode to Landscape (horizontal) mode simply by rotating your Android. On most versions of Android, it is not possible...
www.wikihow.com
Click to expand...
Click to collapse
Got it, it's selected by resolution?
In this screen setting it was not supposed to be like this.
1080x2160px
6.01 "
400dp
Auto rotate: Off, vertical
So what should I do? Is this something I can fix?
Thank you for the answer.
h0nor said:
Got it, it's selected by resolution?
In this screen setting it was not supposed to be like this.
1080x2160px
6.01 "
400dp
Auto rotate: Off, vertical
So what should I do? Is this something I can fix?
Thank you for the answer.
Click to expand...
Click to collapse
If phone is rooted then you can set the appropriate keys in Android's system file named build.prop:
Examples:
Code:
# 0 = Landscape, 90 = Portrait, 180 = Reverse Landscape, 270 = Reverse Portrait
ro.sf.hwrotation=180
# DPI values may be any of 120,160, 320, 480 & 640
ro.sf.lcd_density=160