Quote:
Originally Posted by mwalt2
This is off topic as far as mortscript is concerned, but I've also been having problems with g-alarm since I bought pocketshield. elesbb, are you able to use the g-sensor in g-alarm (like shake to snooze) with pocketshield installed? Even though I don't use any g-sensor settings in pocketshield, it still snoozes g-alarm almost instantly after the alarm goes off. Removing pocketshield makes it so this isn't a problem anymore, so it must be doing something. I've also had problems with it turning off g-alarm too soon as you have had (with the g-sensor setting in g-alarm disabled).
|
1st , make sure you have galarm added to the aplication exceptions list found under the unlocking tab (see attatched) in order for pocketshield to allow the alarm to sound .
the problem I have experienced ,
I personally found the reg entry which handles the time the screen stays on once it wakes up , while its still locked . I changed it to 5 , allowing me to save battery when I get a text message and my phones in my pocket . Since it doesn't screen off from the proximity sensor . However , when my device wakes for an alarm , the galarm application doesn't fully load in 5 seconds to the point where pocketshield notices it as an active application and shuts the screen off keeping the alarm from sounding until the screen turns on again . But when I have the sleep time set to 30 seconds , it unlocks due to the exception added for galarm , and my alarm sounds like its supposed to .
so I have 2 mortscripts written which allows me to change the sleep time without using resco or any other reg editor . And what I wanted to do was have each script run at a certain time , like for me , have the 30 second script run at midnight , so my alarm goes off at 6 when I wake up , then having the 5 second script run to restore the 5 second sleep at say 630 when I have already woken .
if your device is unlocked , the g sensor should function correctly with galarm , I haven't experienced any issues when it unlocks to sound the alarm . Let me know if you get it working or what other problems you run into .