[REQ] Using G-sensor to wake up device upon new message - Touch Diamond, MDA Compact IV Themes and Apps

I'm no developer so I can't do this myself. My idea is this:
The device in lying flat on a table. There is a new incoming message and since my diamond is set not to wake up on new message, the screen stays off. But when the device is picked up, the g-sensor senses this and the device turns on and goes directly to messages inbox.
It should only work when the device is lying flat, so it doesn't wake up in the pocket. Maybe the lightsensor also is used so it doesn't wake up when it's dark - so it doesn't wake You up in the middle of the night.
Anyone up for the challenge?

weblance said:
I'm no developer so I can't do this myself. My idea is this:
The device in lying flat on a table. There is a new incoming message and since my diamond is set not to wake up on new message, the screen stays off. But when the device is picked up, the g-sensor senses this and the device turns on and goes directly to messages inbox.
It should only work when the device is lying flat, so it doesn't wake up in the pocket. Maybe the lightsensor also is used so it doesn't wake up when it's dark - so it doesn't wake You up in the middle of the night.
Anyone up for the challenge?
Click to expand...
Click to collapse
There is one problem though, when the phone is really suspended, the GSensor cannot be read out. And if you keep the phone awake, it will drain battery.
However, you can use TouchLockPro as locking program, where you can suspend the device at backlight off or after some time after power on. If you set the times low (e.g. 10 seconds), then you have time to pick up the phone. The light sensor will automatically unlock the phone, when there is enough light. Or use the GSensor for unlocking, or one of the other means, like capacitive NavSensor, stylus, etc.

I really don't see the point with this... Why not just use S2U2, and let the device wake up on a new SMS? The phone stays locked, and your friends won't have to wait forever for you to see - and answer - the SMS

someone here on xda-dev createt a app like this but I forgot who coded the app.. i search a little..
http://forum.xda-developers.com/showthread.php?t=423250 << VibraNotify

Related

backlight, incoming call delay, and alarm bug

Cingular 8125
I have 3 issues...
1. The backlight seems to shut itself off every once in a while. I'll try to wake the phone from sleep mode only to notice there is no light, so I have to move the phone near a light source to see the dimmed screen and work my way to the backlight setting and increase it back to normal.
This happened once while I was driving
Is there a cure for this problem?
Also, I noticed spb pocket plus's backlight slider on my today screen does not work, nor do the shortcut commands it has for backlight up/down/loop etc.
2. When I was testing a new ringtone, I called my phone from another phone. I noticed it does not receive the call on the first ring. It receives it on the 2nd ring. I can hang up during or right after the first ring and not have it come up on my phone. Is this normal?
3. Alarm bug. This %$#@ lead me to hard-reset my phone 3 times already. When my phone is in sleep mode and an alarm triggers, sometimes the phone won't wake, but keeps playing the alarm. I wake the phone manually only to notice there is no alarm notification, but a flashing orange light and constant alarm sound and vibration. A soft-reset seemed to make the problem worse. Finally, I found a program called memMaid which lets me delete notifications and duplicate notifications etc. Is this the best method to cure this problem?
Thanks in advance.
With the backlight, do you have it on charge at the time of it messing up?
i've had this issue but only when the phone was on charge.
if i unplugged the phone, backlight came back and then i simply plugged it back in
other than that, no cure that i've found. what software version are you using?
for the alarm, not seen that, i have noticed that recently i've had the alarm apparently going off (but it hasnt!) and then almost 2 hours later, i have a msg saying "alarm" with the dismiss button and the time of when it was supposed to go off. very odd. luckily i have a nokia 6230i that i use as my alarm clock.
and for the calls... i have the same problem but only when i copy over my SMS back onto the device. after hard reset its fine, but as soon as my msgs go back, i think the phone mem gets slower. (i have 1600 sms now on the phone with about 300 contacts with pictures)
I have the same issue with sms where the phone will light up, 5 seconds after it recieves the sms... so i'm guessing thats the same as the phone side, it lights up on my end, 3-5 secs later it rings (which is eqiv to one ring on their side so it hangs up after 2 more rings).
very strange issues though, i hope softwre updates fix it because it is annoying me now!
also have an issue with my camera where if you dont X out of it, then dont expect it to load again unless you reset the phone. it just shows the "egg timer" and thats it. useless camera software but great pda/phone. again luckily i have a camera always with me anyway.
Only thing i have experience with this is for 1).
I still get that backlight problem.
It started happening when i installed PocketZenPhone beta.
After every soft reset, if i let the phone go into standby or the let the backlight time out, the backlight setting will go all the way to the lowest.
I don't know how to fix this bug, only thing i've done to sort with it is have a Today Screen launcher set up so that i have an icon that leads directly to the backlight setting, so whenever it dims on me, i'm 2 thumb pushes away.
Actually, this is the first time i saw this, when i installed zen on mine too!
It was then i realised that if you unplugged the power supply then replug it in, it fixed it
in the end, i got fed up of zen's stability or the lack off so i removed it, hard reset etc
it still happens but very rarely, and when it does, its just because i've turned it off and on while it was on the power supply
i have the same freaking problem with backlight. not sure what the deal is but very very annoying. is there a fix to this problem??
i have the same freaking problem with backlight. not sure what the deal is but very very annoying. is there a fix to this problem??
Mine had the occasional "backlight set to off" (i.e. pushing the 5-way would NOT turn it back on - had to use Control Panel applet) problem too. I never used Pocket Zen Phone on this phone (have on others in the past) but did use both SPB pocket plus and Phone Alarm.
I think the problem is somehow related to apps that try to control the backlight. As you've noted, SPB's backlight applets don't do anything, I think that PZP and Phone Alarm, as part of their attempts to control the backlight in their profiles mess it up somehow.
What i did was limit my profiles in PA to only two, and make sure both of them were set exactly the same way as far as controlling the backlight:
o Both profiles have backlight set to 50% all the time
o Both profiles set to power off the backlight at 3 minutes on both AC and battery
o Both profiles set to suspend the device at 2 mins on battery (so never getting to the "backlight only power-off" setting above).
o Having the backlight go dark on AC is new for me, but it keeps it consistent with the battery setting, but it's no biggie and if it ain't broke...plus if I touch any button it comes back on
I also removed SPB pocket plus and found some freebie utilities that do what I wanted from SPB.
So I'm not positive it's related, but doing these three things and i haven't had the light go dark since. Every once in a while after a reboot the light does go dark, but hitting any button or the 5-way brings it back so it's not the same "setting has been set to no backlight at all" problem I was having, and only seems to occur soon after a reboot, and then not again.
-JMS
i fixed my problem by flashing rom over with 2.17 US version.

Keeping it in standby

Anybody know if there's a way of keeping my Trinity in standby even when a text message comes through - I keep the thing in my pocket and if I don't look at it straight away after a text has come through, all kind of things happen - programs get launched, photos get taken, voice memos are created, just from it moving around in my pocket after un-standbying itself!??
Thanks
Lock the screen and when a text comes no programs will launch!
Nope...
Doesn't work...as soon as a text comes through, everything unlocks - is there anyway to stop this from automatically happening?
Thanks
flight mode
tjw2007 said:
Doesn't work...as soon as a text comes through, everything unlocks - is there anyway to stop this from automatically happening?
Thanks
Click to expand...
Click to collapse
Not so on mine when it is locked it stayes locked! The screen will come on but the machine stays locked.
What mine is doing is when a text comes through, it seems to be causing the device to unlock, because the screen will take touch commands - I need to be able to lock the screen and get it to stay locked even when a text comes through. Any experts out there who might know how to achieve this?
Thanks
What is flight mode anyway?
OK, let me put this another way - is it possible to lock the screen until you press the standby button, so that nothing else unlocks it such as a text message or phonecall?
Thanks
I don't have this problem. My screen is set to go off after 1 minute. When the phone is in standby, all I get is a tone and the orange light flashes. The screen will not come on, unless I press the power button.
No input is accepted when in standby by the screen or any button except the power button - check your settings
I also have it set to auto-lock after 2 hours, so even if I get a text, and turn the screen on, then i need to put the password in before the screen unlocks
i use my m700 the same as you with no problems
RESOLVED!
Managed to put the device lock option on the 'Today' screen and this keeps the whole device locked (screen & all) no matter what happens, until you press the unlock option on the screen. Hooray!

immediate sleep screen when in call. How to disable it ?

I guess post title says it all..
Whenever I start a phone call, the screen goes off...it is very annoying.
Any way to stop that behavior ?
I have searched this forums with no luck.
I am running Modaco's 2.3 ROM on an unbranded hero.
I have tried using Powermanager tools to define a 2min timeout in the "screen off during call" feature but with no luck.
thanks for the help!
Cheers,
-Eric
There is an app called shake awake which wakes up the screen during a call when you move it away from your face.
http://www.cyrket.com/package/com.maplekeycompany.apps.shake
Thanks. i'll give a try but the bad reviews are scaring me.
Is there a setting anywhere for that screen turning off while on call ?
i didn't liked "shake awake" the calls got dropped when the phone "shaked" sometimes i had to call the same person 3 or 4 times because the call ended. first i thought it was my phone but the problems started after installing shake awake. after i removed it my phone worked again
Keepscreen does the trick. Works absolutly great. The full version is able to keep the screen on with every application. Very handy when reading mail, browsing etc. You must set youre screenout delay in settings from the phone to 30sec.
http://nl.androlib.com/r.aspx?r=keepscreen
I'd like an app that actually does kill the screen as soon as the call button is pressed. Sometimes the Hero is too slow to turn off the screen and you hang up the call with your cheek.
Thats annoying.

Screen Lock issue with HD2

After i hang up on a call (when the phone is in sleep mode and the screen is locked) the screen unlocks. this is quite contrary to what is mentioned in the phone manual chapter 1 page 45. this becomes an issue since i use a bluetooth headset and the phone remains in its sleeve/case and after every call, a whole bunch of applications will launch since the case is in contact with the screen. have i overlooked some settings or are there other owners who have faced this issue?
ideas and suggestions welcomed
did you check it out if any of the hardware buttons being pressed against the case hence wakening up the phone.?
i had it to only closed al my apps in taskm and it stoped flickering
My HD2 is also behaving in the same way even in controlled test conditions - the phone unlocks when a call comes in (I'm presented with slide to accept or reject call) The phone unlocks during the call, but fails to lock again on disconnect (either by pressing "end call" or hang up via bluetooth).
Can anyone verify this? Is it interacting with something I installed?
I believe I found a (complicated) workaround.
What I want: leave HD2 inside pocket, answer calls with bluetooth headset, hang up and phone will go back to lock.
Problem: After I hang up using bluetooth or press the big red "End Call" button or the other party hangs up, the phone stays unlocked! It stays powered on and all kinds of buttons gets clicked.
Practically all lock sw uses their own lock screen (which I don't want to install). CSDevCtrl does not trigger by phone. TouchLockPro uses its own transparent lock screen but can respond to phone events. Using the !SUSPEND for TAPI\Ended under settings does not seem to work when the screen dims about 50 secs into the call.
Solution: Use TouchLockPro together with LockAndOff. Get TAPI\Ended to run LockAndOff will turn phone off, whether by bluetooth, big red "End Call" button, or the other party hangs up.
BTW: I think there is some confusion on whether the phone locks when you
1. press the big red "End Call" button, or
2. the hard "End call" button
in the forums.
I noticed that HD2 have a light sensor next to the top ear speaker.
During a call, if the phone is put near the ear and cover the light sensor , the screen become non-active which is good.
If anyone can come up with a lock sceen using this light sensor , then the problem with random launch of program when phone inside pocket will be solved.
This lock screen should only activated right after an end of call, beacuse , sometime you may want to use the phone in a dark place.
linivan said:
I noticed that HD2 have a light sensor next to the top ear speaker.
During a call, if the phone is put near the ear and cover the light sensor , the screen become non-active which is good.
If anyone can come up with a lock sceen using this light sensor , then the problem with random launch of program when phone inside pocket will be solved.
This lock screen should only activated right after an end of call, beacuse , sometime you may want to use the phone in a dark place.
Click to expand...
Click to collapse
It's the proximity sensor that turns the screen on and off during a call, not the light sensor. How else would it work in the dark? (which it does)
johncmolyneux said:
It's the proximity sensor that turns the screen on and off during a call, not the light sensor. How else would it work in the dark? (which it does)
Click to expand...
Click to collapse
My proximity sensor does not work, when I am getting a call my screen turn off and when I am taking the phone out from my face it turn on only when I am out side at the sun!! the screen stay off when I am inside room. I tested it with flsh light and it is working also.
I have a T-Mobile US version of the HD2. I am having the same problem when using the bluetooth system in my car. After answering or making a call the phone stay unlocked. And then starts making random calls while I am driving!!!!
There has got to be an easy fix for this!!!
Buy pocketshield, problem solved.
i have this unlock problem with 1.48 rom and i solve it by pressing start button and lock. after that everything works fine unless i change theme in settings. then just repeat first step.
Solved
Same trouble with me until I use the following software. I tried it and it's almost perfect. unzip it and just copy to your HD2, run CallerLoc.exe and click Yes, you'll find:when you hang up, or he/she hang up a call, or a call is established, the screen will turn off.
Why say 'almost perfect', the software is in chinese, but the filename is in english. and it's a call location software but with the function we need.
To stop or before you delete the software, run Callerloc.exe and click Yes again.
Hope this will help you. Sorry I don't find a English version of this software. I esure and I'm using this software perfectlly with my Leo.
theciscokid said:
Buy pocketshield, problem solved.
Click to expand...
Click to collapse
Same for me
Greetings.
I understand this is quite an old thread I'm digging up but I need a little help as well and I didn't want to start a new topic just for that.
I've this silly problem, appeared right out of the blue:
You all know the standard manila behavior, when the phone is idle, the screen first dims and after some more time, depending on your preferences, the screen locks. It also locks if you press the power off button. This all was happening to me till this morning.
I added an event in the calendar (the only change I made today) and after that, my phone dims and then goes in sleep mode after the designated period of time, but DOESN'T lock!!! It doesn't even lock when I press the power off button. I can still lock it by pressing Start and then lock or by press and hold the power button and choose the lock phone option. So one would say that it's still operational, so why bother about it, but I kinda liked the standard function and I have to freaking idea why it changed!!!
I'd be most appreciative if you could offer some help with that.
Oh, I forgot to mention. Soft reset didn't solve the problem. Erasing the calendar event didn't either.
My phone runs the factory ROM (1.66.482.1 ELL), I haven't changed anything other than user settings (yeah, I'm a noob... )
Thanks in advance!
Nasos
Pocketshield could be the end of your problems. You can try it for 10 days and see how it goes...
But why do I need to buy third party software in order to revert my phone to it's original operation?
No, this is not the answer I am looking for. I was wondering if you know of any kind of settings that might have changed by accident and caused this undesired behavior.
Thanks.
The best to return to normal operation would be a hard reset. Or you can spend a while trying.
You can try
HKLM\Software\Microsoft\Shell\Lockscreen\Enable=1
HKLM\Software\Microsoft\Shell\Lockscreen\Active=1
Thank you very much. I opted for the hard reset option... I hope it stays ok this time!
My HD2 also had some strange unlocking and unwanted calling.
I noticed it appeared when using the android style lockscreen.
When I changed back to the original one, problem solved
i had this too. the andriod lockscreen seems to be a bit buggy last time i used it, i accidentially called 7 random numbers

How to trigger proximity sensor with a signal instead of a real event?

I have used quite a lot of time pondering over how to wake up the phone using a timer instead of a real event like pressing the lock button or taking the phone out of your pocket using proximity sensor. I tried to use two apps, Automate and Tasker, to achieve this functionality, but for some reason neither of them managed to successfully wake the phone up although the event that was supposed to wake it up did trigger. Then I thought about how there are loads of apps that let you wake the phone by tapping the screen or shaking it, and came up with an idea to feed a signal with a timer that equals tapping the screen and use that to fool the app into waking the phone up.
Is this a possibility, or is there another, reliable way to wake the screen up using a timer?
Tap to wake won't work on the S4 since the screen is completely turned off, therefore it won't react to any touch events when the screen is off, like the new generation phones do.
Shake to wake may work.

Resources