QML help needed. - Sailfish General

I'm working on modifying the keyboard in version 1.14.
I'm currently running Sailfish on the HP touchpad which we have lipstick displaying in Landscape mode, but when you use the keyboard its displayed in portrait. So launcher is landscape while keyboard is portrait and upon rotation vice versa.
I've been peaking around the qml source and have been modifying certain parts but can't get it to work with the proper rotation.
My repository is located here https://github.com/blmvxer/Jolla_Keyboard
Any help or advice is greatly appreciated!
Sent from my LG-ls990 using XDA Free mobile app

Related

How to prevent auto screen rotation?

I have an imate Jasjar running WM5. When ever I twist the screen, the screen automatically changes to landscape when using the keyboard and to portrait when not using keyboard. This is a great feature, but what if I want it to be permanently in landscape mode, even when the keyboard is not in use. I have a heavy skin on the device which takes ages to change orientation, often crashing my device. Besides, I find landscape easier to work with and have to click on the screen rotation button every time.
Is there a way to stop the auto screen orientation? Maybe some kind of registry edit. The wiki said that devices like Universal have the auto orientation hard wired, independent of the registry. Do the XDA developer gurus have a solution?
http://forum.xda-developers.com/showthread.php?t=303904 gives what you need. It works for Windows mobile 5 too

keyboard change based on rotation?

i had a app called butler on my touch pro that would change the keyboard based on if it was slid out so null kb would pop up.
i want something like this so i can use regular keyboard in landscape and swype in portrait.
has this come out yet?
That is A very good piece of thought! Swype in Portrait mode is just perfect, but in landscape the HTC keyboard works better for me, so if there is a way to achieve this automatically (yes, I know, I can switch the kbd on demand, but it's still 2 extra taps each time rotating the screen), that would be great.
bumptacular
BUMP BUMP BUMP lol

Landscape ROMs ?

I have been trying to find a ROM to hold onto for a while.... One thing I would really like is if it could rotate to landscape using the 'g-sensor' ? I saw some showing screen shots with landscape views, but are those using the G-sensor or are they just landscape after pushing a button or something saying like 'rotate screen' etc... ? I would like it to rotate automatically...
please advise me on this...
The easiest ways to achieve this are either run an app called Gyratur or use BSB Tweaks to achive the same result.
Both can be found on here by using the xda google search facility.
Please come back if you have any further questions.
WB
Are there any graphical issues to be expected in landscape view?
I was looking for the same, then downloaded this app:
http://forum.xda-developers.com/showthread.php?t=468488
You can put in exceptions and setup which apps you wont to rotate and how far to rotate. Not tried the ones mentioned above
I cant get that app to work completely for me, it does landscape sometimes and when it does everything doesnt rotate with it and/or it has a black screen
I use Gyrator 2, and haven't had an app not work in all 4 rotations yet.
I did try BsBTweak's rotate function, but it messed a few programs up (like Live Messenger, for instance).
gyrator 2 seems to work the best so far, only it is a little too sensitive -but that is customizeable I believe....

No HTC Sense landscape with keyboard closed

This really bugs me, why the hell does HTC Sense work fine in landscape with the keyboard open, but the second you close it it goes to portait, and you can't change it back?
What's the actual reason for this, is it just a bug?
I wouldn't count it as a bug, it's just how Sense was designed - the thinking is that if your keyboard is closed, you'd want to hold your phone in portrait mode (except for specific apps). I believe there are a few tweaks that you can do to keep accelerometer-based rotation on *everywhere* (as opposed to the current slide-status-based rotation).
It's not a bug but I agree that it'd be nice to be able to have Sense in landscape mode with keyboard closed.
I'm not into development stuff at all but would it be difficult to develop a small app that would either cheat by sending the information "keyboard is open" when the phone is turned in landscape position or by adding a 2nd condition for displaying the landscape mode (if accelerometer turned 90deg then display landscape mode)?
Sent from my Vision using XDA App
missparker76 said:
It's not a bug but I agree that it'd be nice to be able to have Sense in landscape mode with keyboard closed.
I'm not into development stuff at all but would it be difficult to develop a small app that would either cheat by sending the information "keyboard is open" when the phone is turned in landscape position or by adding a 2nd condition for displaying the landscape mode (if accelerometer turned 90deg then display landscape mode)?
Sent from my Vision using XDA App
Click to expand...
Click to collapse
I think it can be made, but remember: if the device "thinks" the keyboard is opened, the softkeyboard is disabled. Then it should be configured to work only in the Sense laucher.
hugo_prado said:
I think it can be made, but remember: if the device "thinks" the keyboard is opened, the softkeyboard is disabled. Then it should be configured to work only in the Sense laucher.
Click to expand...
Click to collapse
Yep you're right. I hadn't thought about that
In landscape mode if I refer to my personal use I'm more inclined to use the physical keyboard than the soft keyboard so I would anyway open the physical keyboard if I need to type something. But I don't know if other people have the same habit.
Mee too, If in landscape I always use the physical keyboard. The soft one uses a half of screen

change orientation in Landscape apps CM7

Is there a way to change the landscape orientation of the kindle (using CM7) for full screen apps? More specifically, I have several games that are played in a landscape orientation, but they do not rotate if you turn the device upside down. The design of my case has a sort of stand, but the way its stands up is the opposite direction than most apps seem to default to. Is there a way to change the default landscape orientation?
Fairtrade128 said:
Is there a way to change the landscape orientation of the kindle (using CM7) for full screen apps? More specifically, I have several games that are played in a landscape orientation, but they do not rotate if you turn the device upside down. The design of my case has a sort of stand, but the way its stands up is the opposite direction than most apps seem to default to. Is there a way to change the default landscape orientation?
Click to expand...
Click to collapse
I've tried doing the same thing and can not find a way to do it. I did try disabling the 90 degree rotation but the games still play in the default landscape mode.
solved my own problem! check out this app here get your device in the orientation you want, and then lock it. it will keep that orientation when you go into apps. however, its not pretty and the simple ui isn't perfect. I'm thinking this would work better...but it costs money...so we'll see. this works for now though

Categories

Resources