Re: [android-developers] detect if an app is launched

2012-06-28 Thread Heikki Siltala
I have a similar problem. I want to create a simple widget that provides shortcuts to the apps that the user uses most. So, in the perfect world, the SDK would provide me with a simple list of how many times each app has been launched by the user. This doesn't exist in my knowledge, so I need

[android-developers] Re: When does the platform hold wakelocks?

2011-06-09 Thread Heikki
ust relying on good luck? -Heikki On Jun 8, 2:26 pm, Mark Murphy wrote: > On Mon, Jun 6, 2011 at 4:47 PM,Heikki wrote: > > In general, I've understood that the device can go to sleep at any > > time when the screen is off and no application is holding a wakelock. > > But based

[android-developers] When does the platform hold wakelocks?

2011-06-07 Thread Heikki
yes, when will it release this wakelock? Is there a grace period after data has been received, or how does the platform guarantee the application receiving the data has gotten the chance to acquire it's own wakelock? Thanks in advance for any answers, Heikki -- You received this message be