Any way to rotate screen through button press? - Touch CDMA Android Development

Hi! I know there's a trick that holding the Power button when the keyboard pops up and quickly pressing Back does it sometimes, but I often get stuck on Landscape and it won't go back to Portrait. Is there a way to assign a button to rotate the screen, or an app/widget to mess w. the internal coding to do the same function? I know Windows Mobile allows for hardware buttons to switch screen... Thanks!

http://forum.xda-developers.com/showpost.php?p=5665206&postcount=51
top power: short press = turn on power, wake screen, menu. 1-second long press = toggle keyboard. 2-second long press = toggle portrait/landscape orientation

ive got mine set where a long press of the send button rotates the screen.

leemoss84 said:
ive got mine set where a long press of the send button rotates the screen.
Click to expand...
Click to collapse
Can you point me to instructions on how to edit button functions?

leemoss84 said:
ive got mine set where a long press of the send button rotates the screen.
Click to expand...
Click to collapse
How did you do that?

cp0020 said:
How did you do that?
Click to expand...
Click to collapse
start>settings>personal>buttons. then make sure send{long hold} is highlighted then assign a program{below} then make it rotate screen.

leemoss84 said:
start>settings>personal>buttons. then make sure send{long hold} is highlighted then assign a program{below} then make it rotate screen.
Click to expand...
Click to collapse
HAHA, this is android man, not windows mobile

incubus26jc said:
HAHA, this is android man, not windows mobile
Click to expand...
Click to collapse
my bad. haha. i ididnt even notice that, i just saw need to rotate screen and didnt notice it was android. guess i should have read more.

I perfer the short press for Windows Moble.....
Anyway, thanks a lot! I didn't get why it would rotate if I did the combo. It seems I was close, but wrong.

Related

"Waking" up from Sleep Mode

Anyone know of a software that will enable the user to "wake" up from sleep mode by just touching the screen?
closet410 said:
Anyone know of a software that will enable the user to "wake" up from sleep mode by just touching the screen?
Click to expand...
Click to collapse
wow someone is lazy. haha. whats wrong with touching the power button?
If you could touch the screen and it would awake from sleep mode putting the device in your pocket would suck ass because 1) you'd be draining the battery quicker than it already drains and 2) if you didn't lock your phone you'd be dialing numbers, starting applications, or turning the volume on. Now, wouldn't it be embarrassing that you were in a meeting and the "Eye of the Tiger" started playing because someone is called you?
oh don't deny the fact that you considered putting a Rocky theme song as your ringtone to motivate yourself each day.
lol
BUT if i had s2u2 then i wouldnt have to worry about that. i love slide to unlock but i see no point in having it if i have to press the power button to wake up the phone AND slide to unlock it.
I've been in search of such progam for a while now and i still can't find one. It was great on my HP Jornada 567 how i can do it, but not with the Tilt
closet410 said:
BUT if i had s2u2 then i wouldnt have to worry about that. i love slide to unlock but i see no point in having it if i have to press the power button to wake up the phone AND slide to unlock it.
Click to expand...
Click to collapse
you make a valid argument. However, you still have to consider battery drain with the device in your pocket the backlight would always be on. I like s2u2 as well but it tends to slow the device down considerably, therefore, i stopped utilizing the application.
Good luck on your searching and please report back to this thread if you do find the software you are looking for.
I am just plain too lazy to hit the power button. Could someone make a slide-to- unlock that is active with the screen backlight off?
bdkvxd said:
I am just plain too lazy to hit the power button. Could someone make a slide-to- unlock that is active with the screen backlight off?
Click to expand...
Click to collapse
Try settings-system-key lock-do not lock buttons. Then you can wake up yor phone by pressing any button except the d-pad and center button
emilceteras said:
Try settings-system-key lock-do not lock buttons. Then you can wake up yor phone by pressing any button except the d-pad and center button
Click to expand...
Click to collapse
Awesome, that works great. Even easier then sliding the phone open a little. Thanks!
s2u2
s2u2 can wake device with any button if you set it in options. you can also map some button to activate s2u2, so you don't need to press power button
antihrist said:
s2u2 can wake device with any button if you set it in options. you can also map some button to activate s2u2, so you don't need to press power button
Click to expand...
Click to collapse
hey, this is interesting for me.
Do you mean that by S2U2 I could map another button to perform Sleep function? I am looking for to map On/Off button to the button #6. I would to sleep my tytn through that button.
any help?
thanks
fausto
I use S2U2, have it mapped to my PTT+hold button. Then settings->system->key lock, set it to lock buttons if device is locked. I usually wake it now by flipping the scroll wheel, then slide to unlock it.
I only use the power button to actually power off or on.
gwnorth said:
I use S2U2, have it mapped to my PTT+hold button. Then settings->system->key lock, set it to lock buttons if device is locked. I usually wake it now by flipping the scroll wheel, then slide to unlock it.
I only use the power button to actually power off or on.
Click to expand...
Click to collapse
thanks gwnorth, this is very usefull and interesting and I will use for the moment, but this is not yet exactly what I am looking for. What I wanna do is to assign to the ptt button the same functions now assigned to the on/off button, I am shure that there is a command to launch and perform sleep or resume when a button is pressed.
btw, thanks again for the suggestion, it is very appreciated.
ciao
fausto
you should just set all the options you want in s2u2, and then just assign button#6 to s2u2. right now i'm trying to assign long push of end button to s2u2. you can find something about remaping keys here http://forum.xda-developers.com/showthread.php?t=356322&highlight=remap
antihrist said:
you should just set all the options you want in s2u2, and then just assign button#6 to s2u2. right now i'm trying to assign long push of end button to s2u2. you can find something about remaping keys here http://forum.xda-developers.com/showthread.php?t=356322&highlight=remap
Click to expand...
Click to collapse
wow, very interesting and usefull thread!!!! This will be very usefull to customize my tytn. So by some links in the windows folder we can perform any program but......which is the command that get Tytn into sleep? and which command gets it resumed?
I am sure, thanks to everibody, I am very close to the solution now...
ciao
fausto
i can't help you with that. just join the above thread, there might be someone who would know the answer to your questions.
antihrist said:
i can't help you with that. just join the above thread, there might be someone who would know the answer to your questions.
Click to expand...
Click to collapse
thanks anti,
I have just installed PHM Keys and it does about 50% of my need. Now when I push the Ptt button it goes in suspend mode. To resume I can use the On/Off button or if i prefer any other button.
thanks,
fausto

[q] {request} a screen position change< plz >

Hi guys,
So, as the thread says, i am having a problem with screen positioning, its landscape mode and i want it to go portrait mode, BECAUSE i have a damaged X1, some microchip is damaged, and the only buttons working is the turn on button and the camera button, but everything which goes for the touch is working perfectly.
SO, when i start ANDROID system, i always get it in landscape mode, and as none of my buttons work, i cant just "slide out and slide in" the telephone to change the view, so is there any way to change the default starting view ? maybe to change some kind of code or line in settings ?
tads999 said:
Hi guys,
So, as the thread says, i am having a problem with screen positioning, its landscape mode and i want it to go portrait mode, BECAUSE i have a damaged X1, some microchip is damaged, and the only buttons working is the turn on button and the camera button, but everything which goes for the touch is working perfectly.
SO, when i start ANDROID system, i always get it in landscape mode, and as none of my buttons work, i cant just "slide out and slide in" the telephone to change the view, so is there any way to change the default starting view ? maybe to change some kind of code or line in settings ?
Click to expand...
Click to collapse
It will be hard to use android without "OK" button (back in android) and Left softkey (Menu in android)...
radzix27 said:
It will be hard to use android without "OK" button (back in android) and Left softkey (Menu in android)...
Click to expand...
Click to collapse
Yes , it will be, but i tried to repair it, i repairmans told, that this device is unrepairable... So i either throw it away or manage to use android ... Can anyone help ?
On some of the iPad knockoffs running android, they put only the home button on the device, and put software buttons for back and menu in the top right of the screen. Maybe you can find some way to get that?
ref:
http://www1.dealextreme.com/productimages/sku_42070_1.jpg
As for the rotate, when I press the menu button on the home screen, it seems to realise that the keypad is in fact closed and rotate the correct way. So if you can get the menu button up there, then press that on the homescreen and it should rotate to the correct orientation.
Mic159 said:
On some of the iPad knockoffs running android, they put only the home button on the device, and put software buttons for back and menu in the top right of the screen. Maybe you can find some way to get that?
As for the rotate, when I press the menu button on the home screen, it seems to realise that the keypad is in fact closed and rotate the correct way. So if you can get the menu button up there, then press that on the homescreen and it should rotate to the correct orientation.
Click to expand...
Click to collapse
Nice idea , but how to get the menu button on screen? (sorry , i know i am a newbie...)
tads999 said:
Nice idea , but how to get the menu button on screen? (sorry , i know i am a newbie...)
Click to expand...
Click to collapse
BUMM, ANYONE WILL HELP ?
tads999 said:
BUMM, ANYONE WILL HELP ?
Click to expand...
Click to collapse
omg ? maybe developers, do sth ?
tads999 said:
omg ? maybe developers, do sth ?
Click to expand...
Click to collapse
nice, some kind of guy wrote, that it will be hard , and thats it ? U [email protected][email protected][email protected][email protected] thx for that idea , with ipod and back button, maybe i will find an answer somewhere...
You can maybe remap the keys like this:
Camera focus = back
Camera = home
Power = menu
But I don't know how to do it.
Sent from my MSM using XDA App
Camera focus is already mapped to back button in "Froyo FRG83 - Android 2.2.1 Beta-Release [06-11-2010] from neopeek", but camera is mapped to turn off.
Also with that configuration, how would you turn off your device or put it into standby?
@tads999 calm down dude. Remember that YOU need help, not us. So don't yell at guys that want to help.
matejdro said:
Also with that configuration, how would you turn off your device or put it into standby?
Click to expand...
Click to collapse
Take out the battery to turn off.
Have a timer that enters standby after some minutes if nobody touch it and listen to all working keys so he can exit standby.
And if I would have his X1 I would be pleased if it could run Android.
Sent from my MSM using XDA App
matejdro said:
Camera focus is already mapped to back button in "Froyo FRG83 - Android 2.2.1 Beta-Release [06-11-2010] from neopeek", but camera is mapped to turn off.
Also with that configuration, how would you turn off your device or put it into standby?
@tads999 calm down dude. Remember that YOU need help, not us. So don't yell at guys that want to help.
Click to expand...
Click to collapse
Ye, sorry, i just thought, that it will be the forum where no one replies with any help DDD sorry, well, for home and another buttons i have 5 buttons working properly, like power button, volume down, volume up buttons, and camera , camera focus. Hm, maybe i should write to the guys, which created the android for x1 ?
tads999 said:
Ye, sorry, i just thought, that it will be the forum where no one replies with any help DDD sorry, well, for home and another buttons i have 5 buttons working properly, like power button, volume down, volume up buttons, and camera , camera focus. Hm, maybe i should write to the guys, which created the android for x1 ?
Click to expand...
Click to collapse
i mean, asking to remap the keys for me,
LOL, got a brilliant idea, i will try to remap the key which enters when u slide ur phone out and in, if this will work, i will be able to run android perfectly ;D

CM7 "N" Key / Back - best options?

I'm not running any extra virtual key apps... What I want to do... is have the physical N button do a BACK on 1 click, and HOME on 2 clicks... Or normal click BACK, and LONG click HOME...
I've looked through some of the settings - can't tell how to set that up (if at all).
Any thoughts?
Why not use the soft keys built in to CM7?
Sometimes the status bar is gone... either because something causes it to hide, or because I hide it.
MHotovec said:
Why not use the soft keys built in to CM7?
Click to expand...
Click to collapse
The best setup so far (imho), is to set the soft keys show up at volume button press.
Since the power button or N button tend to fail sometimes.
By doing that, you can hide soft keys with no fear and just presse volume button to bring they back to the screen, flawless.
@blauson
I hate doing that because if I need to change volume I need to leave the app, go into settings, and change it manually. :/
Somehow my "n" button got turned into a back button. Weird. Would much rather haave it be a menu button. but I dont even know how it changed in the first place! lol
DiscoPh3v3r said:
@blauson
I hate doing that because if I need to change volume I need to leave the app, go into settings, and change it manually. :/
Somehow my "n" button got turned into a back button. Weird. Would much rather haave it be a menu button. but I dont even know how it changed in the first place! lol
Click to expand...
Click to collapse
I run phiremod so it's in: settings, phiremod settings, tablet tweaks, choose unhide button
DiscoPh3v3r said:
@blauson
I hate doing that because if I need to change volume I need to leave the app, go into settings, and change it manually. :/
Click to expand...
Click to collapse
My volume still works when I use it to recall the status bar.
Rodney
rhester72 said:
My volume still works when I use it to recall the status bar.
Rodney
Click to expand...
Click to collapse
Really? Then I will have to see what's up, last time I was always running around the settings and stuff to change the volume.
Blue6IX said:
I run phiremod so it's in: settings, phiremod settings, tablet tweaks, choose unhide button
Click to expand...
Click to collapse
I am using Rooted Stock 1.2, way better battery life IMO.
rhester72 said:
My volume still works when I use it to recall the status bar.
Rodney
Click to expand...
Click to collapse
I second on that.
I'm running nightly 131.
No problem to change the volume neither to show up soft keys.
I use the N key to cancel full screen. Its more comfortable to use than the volume keys for me.
Hrm.. that would work... Where do I configure what the N key does?
dalingrin said:
I use the N key to cancel full screen. Its more comfortable to use than the volume keys for me.
Click to expand...
Click to collapse
dalingrin said:
I use the N key to cancel full screen. Its more comfortable to use than the volume keys for me.
Click to expand...
Click to collapse
This is how I've been doing it as well, but sometimes it brings me all the way back to home after showing the status bar. Do you ever experience that? Any tips if so?
Regardless, I like my volume buttons to be... well... volume buttons.
You could use button savior to have a never-hide home only option button located on the very right side by the N button, leaving that slot unused on adw launcher and treat it as a "permanent" home button.
TheAmazingDave said:
This is how I've been doing it as well, but sometimes it brings me all the way back to home after showing the status bar. Do you ever experience that? Any tips if so?
Click to expand...
Click to collapse
That's precisely why I haven't used the n button - if there is a way to avoid it, that would be fantastic!
Rodney
The best thing I ever did was install zMooth. Its a gesture bar that lets you draw the buttons. Almost like my old pre.
Sent from my NookColor using XDA Premium App
jeremymahoney said:
The best thing I ever did was install zMooth. Its a gesture bar that lets you draw the buttons. Almost like my old pre.
Click to expand...
Click to collapse
Looks interesting, but the only gesture I can manage to make it recognize is home. Any special tricks to this?
Rodney
It has always worked well for me. Have you used the nook screen recalibrate app? Before I ran that I had a really hard time getting the lower part of my screen to recognize my touch. I think there are some sensitivity settings in the zMooth app you can play around with too.
Sent from my NookColor using XDA Premium App

Screenshot like in Asus?

When I use the KK Rom, I can only get the screenshot by using the Power Menu (Long press the power button while the power menu is configured to have a screenshot option). Anyone knows a way or any app I can install to capture a screenshot by long press the "Recent App" Soft key and get a screenshot saved like in the Asus stock ROM?
Screenshot Ultimate lets you configure all kinds of options to capture a screen shot > Play Store
Sent from my K00C using Tapatalk
berndblb said:
Screenshot Ultimate lets you configure all kinds of options to capture a screen shot > Play Store
Sent from my K00C using Tapatalk
Click to expand...
Click to collapse
Thanks for the tip, I installed and tested it, the captured size of the screenshot is not exactly as it is by using the hardware key or the long press Recent Apps softkey.
Any other tips?
myeepad said:
Thanks for the tip, I installed and tested it, the captured size of the screenshot is not exactly as it is by using the hardware key or the long press Recent Apps softkey.
Any other tips?
Click to expand...
Click to collapse
I am not using the KK version but does the power and volume down not take a screen cap?
It works in JB version and on my phone with KK?
Sleeepy2 said:
I am not using the KK version but does the power and volume down not take a screen cap?
It works in JB version and on my phone with KK?
Click to expand...
Click to collapse
Yes, the power and volume key combination works, but for 2 reasons I don't like it.
1) too many presses on keys are no good for the hardware, and
2) the TF701 has both power and volume keys on the upper left hand and it is difficult for me to press both keys at once.
I think the best is still the long press Recent Apps soft button implemented by Asus.
myeepad said:
Yes, the power and volume key combination works, but for 2 reasons I don't like it.
1) too many presses on keys are no good for the hardware, and
2) the TF701 has both power and volume keys on the upper left hand and it is difficult for me to press both keys at once.
I think the best is still the long press Recent Apps soft button implemented by Asus.
Click to expand...
Click to collapse
You must take a lot of screen shots also I almost never push those buttons
Cant you just assign quicklaunch targets around the home button? works for me.
Sleeepy2 said:
You must take a lot of screen shots also I almost never push those buttons
Click to expand...
Click to collapse
Oh, no, I use the screenshot for Words for Friends Cheat...
YayYouFixedIt said:
Cant you just assign quicklaunch targets around the home button? works for me.
Click to expand...
Click to collapse
Please elaborate on this more, are you referring to add the screenshot choice to the power on/off hardware button?
Just use the power options screen shot functionality in kk.... It's in settings, developer settings somewhere. You push the power button and one of the options is a soft button to take a screen shot.
Or stop cheating

how to get rid of the rotation button

Hey ppl
Anyone noticed this ugly button?
I press it several times by accident. The only way to deal with is to enable the navigation bar (the button will then be displayed inside of it).
Is there a wax to remove it completely?
Thanks
Caffeineshock said:
Hey ppl
Anyone noticed this ugly button?
I press it several times by accident. The only way to deal with is to enable the navigation bar (the button will then be displayed inside of it).
Is there a wax to remove it completely?
Thanks
Click to expand...
Click to collapse
I personally love that button I believe this is a Pie feature, it lets you rotate your phone on command instead of it automatically rotating. To turn that off simply make sure Auto Rotate is turned on in the Quick Settings toggles.
yeah but i dont want autorotate at all. i hate it even^^
I don't have this button and I'm actually interested
What do you set on to have it?
Nastrahl said:
I don't have this button and I'm actually interested
What do you set on to have it?
Click to expand...
Click to collapse
Turn off auto rotate, and Pie will show it whenever it detects your phone has rotated.
Caffeineshock said:
Hey ppl
Anyone noticed this ugly button?
I press it several times by accident. The only way to deal with is to enable the navigation bar (the button will then be displayed inside of it).
Is there a wax to remove it completely?
Thanks
Click to expand...
Click to collapse
That tiny little unobtrusive button only appears when you have auto rotate turned off AND you rotate your phone. It should not appear during normal use. And it goes away after a few seconds if you don't press it.
pTeronaut said:
Turn off auto rotate, and Pie will show it whenever it detects your phone has rotated.
Click to expand...
Click to collapse
I never noticed that. Thanks
Mr. Orange 645 said:
That tiny little unobtrusive button only appears when you have auto rotate turned off AND you rotate your phone. It should not appear during normal use. And it goes away after a few seconds if you don't press it.
Click to expand...
Click to collapse
i know, thanks. but i dont want that to happen, thats the whole point of this topic...
Caffeineshock said:
i know, thanks. but i dont want that to happen, thats the whole point of this topic...
Click to expand...
Click to collapse
I understand what you're asking. But it's not possible. And again the button goes away after a few seconds.
Root and install something other than One UI. Although saying that, I don't remember seeing this rotate button while running several of the different custom One UI roms, can double check if you want.
Caffeineshock said:
Hey ppl
Anyone noticed this ugly button?
I press it several times by accident. The only way to deal with is to enable the navigation bar (the button will then be displayed inside of it).
Is there a wax to remove it completely?
Thanks
Click to expand...
Click to collapse
Maybe you've figured this out already but from the notification panel of you click on the word "Portrait" under the auto-rotate icon it'll bring to additional settings an be you can turn it off from there
Caffeineshock said:
Hey ppl
Anyone noticed this ugly button?
I press it several times by accident. The only way to deal with is to enable the navigation bar (the button will then be displayed inside of it).
Is there a wax to remove it completely?
Thanks
Click to expand...
Click to collapse
Pull down the notification panel, locate the portrait/ auto rotate button, press the text and disable the "Rotate button on navigation bar"

Categories

Resources