[IDEA] Phone position wake up system. - G1 Android Development

I know the title sound complicated but i don't think the idea is. I either saw this in a dream or in another forum and haven't been able to find it again. Anyways my idea is pretty simple:
When the phone is turned up to it's proper position as if your holding it in your hand (the screen is facing up) the phone automatically unlocks it self without the need to press the damn menu button twice or do a silly pattern. When you put it down on a surface, you put it screen down and then when you pick it up and turn it over, it wakes up easy as that. If the phone is facedown and rings it wakes up. And you want the parameters of the phone tilt to be strict enough the phone won't wake up when it's in your pocket. Also, when you put it facedown, the phone will go to sleep.
I sadly don't know if you can overwrite the unlock of the phone (that has no pattern lock) nor do i have the porgraming skills to do this. If it's not possible to bypass the lock screen with a program, maybe u could emulate the menu button being pressed twice? Just my idea. If there is something like this out there already, just post the link. Thank you!

This app already exists. You can download it in the Market. Unfortunately I can't remember the name...it was one of the first apps I installed on my phone.

OK--I looked it up, and the app I was thinking of is not what you asked for. The app is Ring Control, which focuses on controlling the ringer based on position.
However, it uses the same inputs that yours would, so maybe you should contact the programmer? He has a long post about the programming of it here, and it doesn't seem to far from what you want:
http://fognl.blogspot.com/2008/11/android-ring-control.html

Bump!!! come on guys...make this happen.

Related

Single press device Lock

Folks, any idea how to switch off the screen / lock the keyboard without the need of double press the red power button?
This is kind of bothering cause when you're in a application and need quickly to put your Treo into your pocket, you need to press 1st to get to the home-screen and 2nd to switch off.
Yeah, seems to be something new with the 750 (no other treo before did this). Palm set this up purposely, so I wouldn't assume there's a workaround for it. You'll get used to double clicking
Not that I know
I have used it for ages and found many shortcuts but no "quick lock".
Sorry
How about getting an application that device locks your phone upon return from standby? I use BatteryStatus Today Plugin by Chi Tai Dang.. This plugin has the option to lock device on wakeup and set cpu speed(I use this a lot)..
But mine's a wizard, what do I know about Treo.. but what I do now is, press the power button to get the phone to go into standby and when I want to use it again, I press the power button and it will device lock upon wake up.
I don't have a Treo. How do you initiate said keyboard lock normally?
V
vijay555 said:
I don't have a Treo. How do you initiate said keyboard lock normally?
V
Click to expand...
Click to collapse
"Device lock" that you may know of isn't used on Treo's. Palm uses their own "keyguard," which uses the red END button as a power button when not on the phone. If you are on the today screen, one click will shut the device off. However, if you are in another program, the first tap brings you to the today screen, and the second click turns the screen off (and the keyguard on if you have selected it to be that way). On all other treo's, WM or POS, one click of the end button would shut the screen off (unless you were on the phone obviously, it would be the END function), regardless of what program you were in. Palm changed this, I assume, to be like most cell phones, where when you press the END key it returns to the home screen, regardless of what you were doing. Like a RAZR would do.
Thats the best way I can explain it. You would be surprised Vijay on how many customizations Palm made to the OS.
Yes, I've heard that they did - thank Goodness one of the OEMs finally saw fit to do something original.
Hmm.. from what you describe, clicking twice doesn't seem like a very big chore... I did something similar in VJOkButt. Is it really necessary to convert the 2 clicks to 1 click? Investigating it barely seems worth the effort
V
I agree, hence my original post.
When you are on the today screen, it works normally. And you can double-click quite rapidly and it will work. Not a big deal for me.
yes guys, its not that dramatical, but still, it would be an improvement also considering that I want to stay in that one application (a note which I'm editing) and want to get there after waking up the device again without the need of again starting application, look for the last note, opening etc...
with HTC hermes and others the power button works exactly like this and its even better.
Hi all,
If you're using it two handed hold option (the white key, left hand end of row 3) and press the red button once - closes the app and powers off.
But you need an odd-shaped hand to do that one handed!
It is not that the double click isn't easy to do, it's waht fire00 said; if you are in an app, it closes it and then powers off. Case in point, this weekend while driving to a friend's house, I had directions in my email and would have liked to have turned off the phone, but then I would have to find the email again and open it up. On my Wizard, i would just turn it off and then back on and the email would be there for me.
Gotta be a reg hack for someone to find.
mackangus said:
If you're using it two handed hold option (the white key, left hand end of row 3) and press the red button once - closes the app and powers off.
Click to expand...
Click to collapse
On my device, that method doesn't close the app. It just locks the keyboard and then powers off. When I power on again, the app is still running and on screen. I think that's what fire00 was looking for.
pjcace said:
It is not that the double click isn't easy to do, it's waht fire00 said; if you are in an app, it closes it and then powers off. Case in point, this weekend while driving to a friend's house, I had directions in my email and would have liked to have turned off the phone, but then I would have to find the email again and open it up. On my Wizard, i would just turn it off and then back on and the email would be there for me.
Gotta be a reg hack for someone to find.
Click to expand...
Click to collapse
Sorry PJC ACE, my mis-type - using option + red button powers the device off WITHOUT closing the app - just like the power button on the Wizard ;-)
My apologies!
GUYS YOU'RE ABSOLUTE TREO-EXPERTS !!!!!
thanks a lot, going to dance with the Treo cause I'm so haaapyyy !! )))
fire00 said:
GUYS YOU'RE ABSOLUTE TREO-EXPERTS !!!!!
thanks a lot, going to dance with the Treo cause I'm so haaapyyy !! )))
Click to expand...
Click to collapse
Option (hold)+Red Phone button is a nice alternative, but I'd really like to find a way to prevent the Red Phone from reverting to the Today screen, so I can power off directly with it with one press...Vodafone's excuse for specifically asking for it this way (every other phone's "End" button brings you back to the "home" screen) is ridiculous, these aren't like every other phone.
I installed HTC home plugin and now my red button wont let me go into standby. I uninstalled and still not working. Any ideas?
Side Button + Suspend
There is a thread at TreoCentral that explaines how to activate the side button and make it available for button assignment in the settings screen.
Second there is a small program called suspend.
I have mapped the 1 press of the side button to suspend and away we go.
1 - Click keyguards/screen off.
Also it resume in the place or program you left when you unlock it.
Regards

Help: Touch Pro answers calls in pocket!

Hi!
I have a major problem with Pro. Had it for week and already I have missed many calls. Well, technically I've answered them :-(
The problem is that when a call comes in, the touch screen activates and if the phone is in pocket, it will very likely answer the call. It has done this many times and it does it so fast that the vibrating alarm doesn't even vibrate once. So I have no idea that somebody is listening to me in my pocket!
No, the button lock, doesn't seem to help here. Try it. Even with button lock on, you can answer the incoming calls with touch screen.
So what to do? I am really lost with this. Do I need to power off the phone completely when I'm on the road and only power it on when it's on the table? Yes, that works... and yes, it would be ridiculous.
One solution could be that when an incoming call is coming, one would need to enable the touch screen by pressing one of the hardware keys. And the call could be answered with the hardware keys also. After all, they do not press down easily in the pocket. But there is no way to set the phone this way AFAIK.
So, please guys help! (Google didn't help although Diamond users must have the same problem.)
I have the same problem!!! Didn't figured out a way to solve it by my own. It's realy annoying, especially if you do not want to answer at all to the person that is calling.
please, did anyone find a solution to this issue?
someone tried this and seem to work.
http://forum.xda-developers.com/showpost.php?p=2551522&postcount=124\
I would like to try it without changing the dialier
Source link is here
http://forums.whirlpool.net.au/forum-replies.cfm?t=988590&p=14#r263
Think a little app is required that blocks off touch screen as incoming call arrives.
Same problem on the Diamond :
http://forum.xda-developers.com/showthread.php?t=414731
I have tested the technique exposed by Carloshdez with CSDEVCTRL 3.28 and it works on the TP:
http://forum.xda-developers.com/showpost.php?p=2590105&postcount=188
I Followed his configuration, but entered "0" at the top for "Lock if Idle for Sec"
When the phone rings, CSDEVCTRL deactivate the screen but keep the hard keys activated.
Very complicated solutions it seems... I do not like to replace the dialler for instance. Hmmm.
Any solution where it would be possible to "open" the touch screen before doing anything to the call. I mean, it needs to behave so that
- the screen activates and you can see who is calling
- the touch screen is inactivate so that you do not accidentally answer it
- you can "open" the touch screen to
* answer
* hang-up
* mute
* i.e. all things that are now possible
This is because the hardware buttons do not give you all options, like mute and send text.
Hate to say, but iPhone style (or should I rather say Androind style) "slide to unlock" might be it as it's not that probably thing to happen in pocket. Are there such programs? And what do they do otherwise (that I probably do not want )?
With the solution I exposed, the screen is turned on but locked when a call comes in.
When you hangup with the hard key, everything (including mute, etc) is unlocked so you can use your TP as you were before.
Or you can use S2U2. With it, you have a "Slide to unlock" and "Slide to answer" Iphone's style button.
What happens if the other party was the one to end the call (you did not end the call by pressing the end key), will it still unlock the screen or what?
dmsr66 said:
With the solution I exposed, the screen is turned on but locked when a call comes in.
When you hangup with the hard key, everything (including mute, etc) is unlocked so you can use your TP as you were before.
Or you can use S2U2. With it, you have a "Slide to unlock" and "Slide to answer" Iphone's style button.
Click to expand...
Click to collapse
dmsr66 said:
With the solution I exposed, the screen is turned on but locked when a call comes in.
When you hangup with the hard key, everything (including mute, etc) is unlocked so you can use your TP as you were before.
Or you can use S2U2. With it, you have a "Slide to unlock" and "Slide to answer" Iphone's style button.
Click to expand...
Click to collapse
You didn't get the mute part... I frequently want to mute the ringing WITHOUT answering or hanging up the call. Excellent feature BTW! Usually just to walk away from the current situation to quiet place to answer the call. Yes, I know I can do that with turning the phone upside down also, but there is also the text message option that I'm learning to use also.
I guess I need to try S2U2 then.
http://forum.xda-developers.com/showthread.php?t=422871
try this over S2U2!
Hm... turning my phone around before I can answer a call seems to me a little silly.
A simpel application would be more usefull.
fireblade63 said:
What happens if the other party was the one to end the call (you did not end the call by pressing the end key), will it still unlock the screen or what?
Click to expand...
Click to collapse
If the other party ends the call, the phone unlock. Actually it is only lock during "ringing"
paulyluca said:
Hm... turning my phone around before I can answer a call seems to me a little silly.
A simpel application would be more usefull.
Click to expand...
Click to collapse
I agree! Seems like an excellent idea, but the turning part seems complicated (risc dropping the phone, use 2 hands...?). I rather have something that can be done just by thumb of one hand.
(No, haven't had the possibility to try either one yet.)
The whole sensor thing is turning into a carnival, hopefully some real useful apps will be made using it.
EnOleEikka said:
I agree! Seems like an excellent idea, but the turning part seems complicated (risc dropping the phone, use 2 hands...?). I rather have something that can be done just by thumb of one hand.
(No, haven't had the possibility to try either one yet.)
Click to expand...
Click to collapse
I would apreciate a application that locks the phones touch screen while it rings and unlocks it after you answer (so that you can use it during the call).
Can't make this application, i'm not that smart, but maybe someone els can?
LE: I think this thread should be made "Sticky" until we find a solution, because we have here a real issue!!!
I am going to attempt to DEV an app like that, but I am sure one of the Senior's could dev this much quicker
I know it sounds like a silly solution and I agree that this is a serious design bug but a simple way to avoid this problem is to keep the phone in its pouch....
anonimo said:
I know it sounds like a silly solution and I agree that this is a serious design bug but a simple way to avoid this problem is to keep the phone in its pouch....
Click to expand...
Click to collapse
And that is how I've also answered and ended a call before I've slid the phone out of the pouch since the pouch is quite tight and activates the screen...
Need some other option on screen, like S2U, to 'unlock' the normal phone app' touch options first.
anonimo said:
I know it sounds like a silly solution and I agree that this is a serious design bug but a simple way to avoid this problem is to keep the phone in its pouch....
Click to expand...
Click to collapse
It IS in his Pouch, and both in my pocket, but it answers itself the calls!!!!
The app should use the side bottons to MUTE the call.

Lock touchscreen during call???

I searched for about 30 minutes before posting this.. in both diamond and touch pro forums and all over here.. I figure this is a common issue, but still found nothing.
Is there any way to lock the touch screen during a call? I keep doing things with my cheek. I've written notes, assigned pictures to contacts, etc.!!! It's getting old. Anyway to fix that???
Press the standby button.
I intsalled the reg edit No_Sleep_Raph this stops the phone going into standby for voicemail or phone banking.
The phone will blank the screen depending on the power settings I have or standbye button.
If I accpet a call I normally press teh answer button and while putting it to my ear press the standby button
That maybe a solution...
I would think they would've done something like the treo phones..
They've got a setting to lock the screen during a phone call until you press a physical button... Or something like that. Worked great.
How difficult it would be to program something like that?
Have you tried this?
http://forum.xda-developers.com/showthread.php?t=425650
I haven't tried that yet. From what I read it seems like it will be good for not answering the phone inside your pocket... I didn't see anything about it locking
during a call... But I may have overlooked that, and I would assume it is one of the settings.
Can anyone confirm whether this program will allow you to lock the screen during a call and allow you to unlock it with a physical button?
Sorry, can't help you with that as it doesn't seem to work with the latest ROMeOS rom but IIRC you had to remove the stylus in order to use the touchscreen.
wrong post, sorry.

One button ONLY to wake up/unlock

Is there a program so that when your screen is locked, you can assign one button only to wake your screen and have access to the unlock slider? Now, if any of the 4 hard buttons are pressed, it brings up the unlock screen. The problem is, when the phone is in my pocket, any one of the 4 buttons, if accidentally pressed, wakes up the screen. Then of course, I hear my phone in my pocket clicking because the heat from my leg is "tapping" the screen. I just want to have the right hard button wake the phone up.
I cant find an option in the settings for this, nor any threads that discuss it.
Thanks.
I really admire you if you're able to slide the slider with the phone in your pocket.
LOL. No, I dont slide it. Just that when in my pocket, when any one of the 4 hard buttons are pressed(accidentally), i have to press the power button to lock the screen again. A pain in the butt. I what the phone to have only one hard button, not 4, that will shut off the screen when the phone is locked.
I'd like it too.
Maybe even some old school unlocking shortcut that uses hardware key combination (e.g. Home + Vol Down), rather than slide.
The Diamond, or was it the HD, had a button on the top to wake the phone up. That was nice because it was hard to accidentally press that button when it was in your pocket.
I use pocketshield for automatically unlocking my phone when the light sensor senses light coming in. An added benefit for this is that when the phone is in my pocket and I accidentally press any button, the screen will automatically shut itself off again after 10 seconds since there is no incoming light. This tool has really made my life so much easier as it gets rid of the stupid slider thing as well; you can use the lightsensor, the motion sensor and an old school sliding mechanism to unlock your phone- brilliant stuff!
Iarapilot might have meant something else indeed. Most of WM6.1-WM6.5 have a tab in the Start->Settings->Buttons screen that allows you to choose which kind of wake-up you need: waking up by pressing the Pw-ON button or waking up pressing whatever button you want. Sudden power-on is very boring, even thought you can't make your device work as you need to slide the screen. But this is a power comsuption anyway and I wonder why previous version had this chance regardless the home screen features. I do want it!!
I think it's a matter of regkeys, somebody of us who's used to "playing" with regkeys should figure out how this feature could be resumed.
Hope you help us!!
Maybe I didnt make my point very well. I just would like to have only the R hardware key, when pressed, wake up the screen so as to be able to slide to unlock. Not 4 buttons, that when any of those are pressed, wake up the screen.
I also have the problem, I only want to have only one key to wake up not other key
Please help us
Since it's free, I add myself to the request queue Having the screen wake up only on powerbutton press could be useful to reduce to 25% the probabilityof screen turning on by accident when buttons are pressed inside the pocket. Battery saver for sure.
Same here. I've been looking for this since I first got the phone! My old kaiser could do this, surely it wouldn't be too hard to implement on the HD2?
edit: nevermind, posted in the wrong thread
I don't think any software can control that as key presses send electrical signals direct to the chip/power unit, where the "power on" circuits reside. What software can do is turn it off again if not unlocked within a specific amount of time, so battery is saved. Screen touches shouldn't be an issue either if using a lock screen.
les_paulde said:
I use pocketshield for automatically unlocking my phone when the light sensor senses light coming in. An added benefit for this is that when the phone is in my pocket and I accidentally press any button, the screen will automatically shut itself off again after 10 seconds since there is no incoming light. This tool has really made my life so much easier as it gets rid of the stupid slider thing as well; you can use the lightsensor, the motion sensor and an old school sliding mechanism to unlock your phone- brilliant stuff!
Click to expand...
Click to collapse
and doesnt create any problem in normal use? u ask because if u are in call and let some other app start while talk (maybe with earphones) its quietly impossible use portrait mode because left hand always cover light sensor and screen shut down.. its the same with that app?
Did someone already found a solution? I would like such a option too. wake up only by centerbutton for instance....

Security App Idea for lockscreen - Timed, invisible security

Hi,
Since 1 year i'm dreaming about an APP but i can't find anything similar to my idea. I'm neither a developer to whrite it myself. If someone know an app similar to this idea or a framework to do the same please let me know. And sorry for my bad english.
I don't like to enter a pin, swipe a pattern, take a picture or fingerprint everytime i want to unlock my phone. I like it easy just swipe and unlock or double click screen. But after unlock there should be a timer running in the background like 10-30 sec. in this time you have to press a invisible button (user desides the location of the button). If the button is not pressed the phone lockes itself by a generated key, the key is then send to your email with login information like ip address, location and maybe a picture from both cameras. The only way to unlock it is by the key. You should also be able to wipe the phone remote and lock it by google.
There should also be a warning in the last 10 sec. when you may forget about it.
I know its maybe tricky with alarms and incoming phone calls. For alarm or incoming phone calls this feature should deactivated as the phone lockes itself anyway after you end call or cancel alarm.
I'm very shure this APP need root access, i don't care, i rootet most of my phones.
@MOD's: i hope this is the right forum to post this, if not im sorry.
Please let me know if there is an App like this. If not and someone like the idea and want to develop it just do it That would make me very happy.
Peace out
scheissegalo said:
Hi,
Since 1 year i'm dreaming about an APP but i can't find anything similar to my idea. I'm neither a developer to whrite it myself. If someone know an app similar to this idea or a framework to do the same please let me know. And sorry for my bad english.
I don't like to enter a pin, swipe a pattern, take a picture or fingerprint everytime i want to unlock my phone. I like it easy just swipe and unlock or double click screen. But after unlock there should be a timer running in the background like 10-30 sec. in this time you have to press a invisible button (user desides the location of the button). If the button is not pressed the phone lockes itself by a generated key, the key is then send to your email with login information like ip address, location and maybe a picture from both cameras. The only way to unlock it is by the key. You should also be able to wipe the phone remote and lock it by google.
There should also be a warning in the last 10 sec. when you may forget about it.
I know its maybe tricky with alarms and incoming phone calls. For alarm or incoming phone calls this feature should deactivated as the phone lockes itself anyway after you end call or cancel alarm.
I'm very shure this APP need root access, i don't care, i rootet most of my phones.
@MOD's: i hope this is the right forum to post this, if not im sorry.
Please let me know if there is an App like this. If not and someone like the idea and want to develop it just do it That would make me very happy.
Peace out
Click to expand...
Click to collapse
That would not be as secure as just using a PIN/password. Anyone could randomly press the screen after swiping and get lucky enough to actually tap the invisible button to unlock it even if they don't know that the invisible button is there or where it's located.
Come up with a better idea.
Sent from my SM-S903VL using Tapatalk
Droidriven said:
That would not be as secure as just using a PIN/password. Anyone could randomly press the screen after swiping and get lucky enough to actually tap the invisible button to unlock it even if they don't know that the invisible button is there or where it's located.
Come up with a better idea.
Sent from my SM-S903VL using Tapatalk
Click to expand...
Click to collapse
The Button is not to unlock the phone. its just something i know is there but noone else because its invisible. if no button is pressed after x secounds THEN the phone will lock with a complicated key send to my email. Invisible button is just an idea, could also be a noise you have to make or whatever. the idea behind it is to make your phone like the swort from Wesley snipes in the movie blade. If you not press the button your hand get smashed. Not to smash someones Hand but to make the phone unusable same time get pictures and location of the thief.
but unlocking phone for yourself is still just a swipe. I hope you got me this time. Sorry if my english is to bad to explain what i mean.
scheissegalo said:
The Button is not to unlock the phone. its just something i know is there but noone else because its invisible. if no button is pressed after x secounds THEN the phone will lock with a complicated key send to my email. Invisible button is just an idea, could also be a noise you have to make or whatever. the idea behind it is to make your phone like the swort from Wesley snipes in the movie blade. If you not press the button your hand get smashed. Not to smash someones Hand but to make the phone unusable same time get pictures and location of the thief.
but unlocking phone for yourself is still just a swipe. I hope you got me this time. Sorry if my english is to bad to explain what i mean.
Click to expand...
Click to collapse
You didn't understand.
If you locked your device and someone picked it up and tried to unlock by swiping, it would take them to the timer you mention, while the timer is counting they could randomly tap the screen and get lucky enough to tap the invisible button, EVEN IF THEY DON'T KNOW IT'S THERE OR WHAT IT DOES, then the device will be unlocked.
I'm saying they could very easily "accidently" unlock your phone
Sent from my SM-S903VL using Tapatalk
Droidriven said:
You didn't understand.
If you locked your device and someone picked it up and tried to unlock by swiping, it would take them to the timer you mention, while the timer is counting they could randomly tap the screen and get lucky enough to tap the invisible button, EVEN IF THEY DON'T KNOW IT'S THERE OR WHAT IT DOES, then the device will be unlocked.
I'm saying they could very easily "accidently" unlock your phone
Sent from my SM-S903VL using Tapatalk
Click to expand...
Click to collapse
I think you don´t understand.
the button and even the timer is unvisible. you can use the phone for x sec normally. YES maybe the thief is lucky and hit the unvisible button without knowing he did. But it won´t happen a secound time. then the phone get locked ............
anyways i would put the button in a area where you never tap, like corners.
i know this is maybe not the securest way to lock the phone but i'm lazy and i like to just swipe to unlock. it's just to have a little bit more security, i hate pin or patterns. But i see that i'm alone with that opinion

Categories

Resources