[Q] How to forse android in landscape (editing system files) - Android Q&A, Help & Troubleshooting

hello, i am working in project where i try to convert tabled into car navigation system. All looks ok so far, but i can't figure out how to make android in landscape orientation only, even for stock launcher.
I know about screen lock programs, but they need time for booting, and it is very annoying to boot in one orientation, and in about 30s go to landscape .
Is where simple method forcing stock Lenovo Phab Plus launcher into landscape ?
i did try biuld.prop, but somehow it does not work. Any one have idea how to do it ?

launcher.force_enable_rotation=true
log.tag.launcher_force_rotate=VERBOSE
lockscreen.rot_override=true
This locked my rotation, but the problem is, second before boot or second after reboot still screen is rotating. This messing my wallpaper It still keep it in vertical, just zoomed
Update Also setting are not in Landscape, but rotation lock programs make it landscape, hm...

Related

Problem with rotate sensor

after many lockups and problems i decided to turn of the rotate sensor and guess what. My phone now rocks..not a single lockup or problem.. is there any way to change the default rotation of my dell to portrait instead of landscape? also anybody knows if the official update from dell has the same problems?
You can make the home screen set to portrait by default, yes
You must use ADW as your launcher however.
Just set the default orientation to portrait and then you must set ADW to system persistant otherwise both landscape and portrait mode=landscape for some reason. I do the same.
Your lockscreen will still be landscape mode however, unless you still have the older version of Widget Locker.
It's lockscreen view was in portrait. After the latest update however it isnow landscape and you can't change it back. =(
As for the official update having rotation problems, I hadn't experienced many issues with orientation lockups except when I tried using their new Dell Stage Video app which I immediately removed after I found out it locks up the sensor whenever you tried to use it to view a video.
I however hadnt kept the rotation set to auto for very long honestly.
I prefer portrait mode for the home screen. My boot screen aswell is in portrait mode now too since someone was kind enough to post the files on the site the other day.
Portrait mode just feels more natural to me since this is currently my main phone so having it in landscape mode is abit awkward and I didnt like how certain things looked after being resized when rotating orientation.
My friend thanx very much... im using adw as launcher and yesterday i was playing with adw settings for orientation but didnt try the system persistent....of course the phone keypad and all programs remain landscape any ideas for this?
if your on 1.6 still, for the keypad you can download a differnt dialer app.
Dailer Ones pretty good.
If your on 2.2 it should auto rorate tho.
As for the programs themselves, what's not rotating?
Did you by chance turn off "auto-rotate screen" in system>settings>display when you were trying to get the home screen into portrait mode and never re-checked it?

[Q] default orientation auto?

I been reading people talking about the default orientation change, to that of the portrait view, but can this be set to sensor, so that whatever way you turn the phone, the lock screen changes to that orientation, whether it be landscape or portrait?
The stock lock screen does not change orientation even if the auto setting is on. There are several lock screen apps that have additional settings and features.
Nevermind, is there any lock screen apps where you can still use the pattern lock? Cause all the ones I tried you couldnt
I second the notion. I would love an app that allows me to lock the screen in the orientation it's currently in.
And the same app, or another app, doesnt matter to me which, has the lock screen come up in the orientation the phone is in.
Edit::: been tinkering with it this morning and now I can't get the darn thing into landscape mode at all..... any ideas
Yeah its strange how the lock screen is locked to a certain orientation. And I have no ideas how to change the orientation. Sorry mate. Another's thing that is strange is why doesn't the streak rotate 360 degree, never understood why it doesn't do upside down portrait.
Maybe the launcher has something to do with it because I have a live physics wallpaper that does follow the rotation 360 degrees.
Also I will mention that when I use ADW Launcher EX I can lock my orientation in whatever orientation it's in when I switch off auto rotate
Sent from my Dell Streak using Tapatalk
Yeah I have my phone locked to landscape in adw, but only because the lock screen is locked to landscape, I would just like both to be changeable, with rotation of the phone.

How to "hacQ" the Nexus Q so portrait apps work on a landscape-only screen

Hi,
Several apps I have tried (maybe ~10% of them) only have portrait mode. This is a problem if you have a TV you can't rotate.
I wonder if anyone has any ideas of how to write, say, a background service that detects if it's displaying in portrait mode, and then shrinks the screen view and flips it 90degrees (so essentially you have a portrait screen that is now the correct way up, with black screen on either side). You can't tell it to display in true landscape because that's hard-coded into the app, so it is better to just rotate the portrait display. However this is a hard thing to do as the screen display is very low-level... but does anyone have any ideas of how to accomplish that?
I've done some searching, but of course Android has never really faced this problem before. Android has either been on a rotatable mobile device, or it's been on a GoogleTV where everything is landscape...
If so, that would open up more apps for Q-compatibility...

[Q] Rikomagic MK802II, portrait mode

Hello all,
this is my first post here so be gentle :cyclops:
I've bought Rikomagic MK802II with Android 4.0.4. with HDMI.
I want to rotate screen to portrait mode. I spent days trying to make it work but without success.
Device came without "Auto-rotation" option in settings. It is somehow locked to landscape rotation.
I tried to do:
1) Unpacked original IMG file, then unpacked system and changed build.prop.
- I've added "ro.sf.hwrotation=90" to build.prop file and flashed the device.
- after rebooting system stuck at loading screen
2) Again fresh start from original IMG file.
- changed "config_AllowAllRotation" from "false" to "true" in framework-res.apk
- packed all and flashed the device
- after reboot system running OK but still in landscape
3) Made file local.prop in /data/.
- In it I've added:
launcher.force_enable_rotation=true
qemu.sf.lcd_density=160
- nothing helped...
4) Changed settings.db.
- changed user_rotation from 3 to 0 (to 1 also)
- after rebooting screen is still in landscape but settings.db doesn't have anymore this row: user_rotation and 20 next rows too.
I also spot some AutoRotationController.smali file but I don't know is everything about it or?
How I testing portrait mode:
- Tried with Rotation locker application
- made my app which have orientation to portrait (tested it on my tablet and on my smartphone and in emulator and in all cases app is in portrait except on MK802II).
Does anyone know what is needed to be changed to get portrait rotation? No matter locked portrait rotation or Auto rotation enable. Just possibility to rotate screen to portrait.
Are there some parameters needed to be changed or some features to be added or something else?
Are there some group of parameters considering to screen rotate?
Any luck with the rotation? Same story on the mk802 fw.
Cheers,
Martijn
Still no luck. I didn't gave up but I need to learn more about android to better understand the problem about rotation and to to prevent/allow screen rotation. That is hard way for me but only because I didn't get any help on the forums and cannot find any blog on the net who have this there written down.
I'm guessing all your previous attempts to configure or manipulate the devices screen orientation are unsuccessful probably because all these system settings, configurations and used apps rely on a hardware feedback of sum sort.
Which probably is absent on these devices.
I don't believe an android stick as this comes with a gyroscopic sensor (hardware). Thus not able to supply or react to the correct information.
I don't think its impossible though, it just needs a more low-level programatically approach.
Good luck :good:
And please share your solution if you get it solved. I can imagine more people are facing this problem.
Semi - Solution
Hello,
I have been working with one of these devices recently and also needed to display something in Portrait mode.. Alas it's locked in to landscape.
Instead, I figured out a work around. I built an application that is landscape, but the internal objects are rotated 90 degrees. The app I am working on (and hope to have in the app store soon) is a web browser kiosk style app. This application design would allow you to display something in portrait mode even if the devices is locked to landscape. Added bonus, with the way I have it set up I am able to also set it to 180 degrees or 270 degrees (this is useful if the picture needs to be flipped on a projector lets say)
Just thought I'd share what I figured out so far. I'll post the link once I have the app ready for prime time.

[Q] Rotation Misfanction

Hi, my I9100 when the phone is set to auto-rotate, and is in landscape mode, it will not return into portrait mode. Not even if i set it to no auto-rotation. It runs KitKat (Beanstalk) and even if i manage to get it to portrait, the apps that were viewed in landscape will remain in landscape.
Every tme the only solution is to reboot.
Its defently not a hardware issue, but i have noticed while using apps that show the orientation of the phone such as Bubble level, that the phone doesnt detect when it is faced bottom side, up.
Please help

Categories

Resources