View Single Post
Old 08-09-2011, 10:42 AM   #4
nprnncbl
Member
nprnncbl began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jun 2010
Device: Entourage Edge
Quote:
Originally Posted by krewskater View Post
I'm not 100% on this so don't lose hope but if I'm correct the EE goes kind of "inactive" once it's on hibernate, as in it won't run any scripts/programs. If this is the case then the best bet would be doing some low-level programming to work around that, but I don't know how comfortable anyone here is with doing that, or if it's even feasible. I'll wait for someone more familiar with this to chime in
I looked into the Android API a little, and found AlarmManager, which is capable of waking the CPU from sleep at a particular time to perform some action. What I haven't found is a hook to have something run just before it goes to sleep, but I'm guessing there's some way to register for power management events.
nprnncbl is offline   Reply With Quote