03-12-2012 11:45 AM
03-12-2012 12:49 PM
Hi Sean,
I am using bbutil and this worked perfectly.
Thanks,
Roger
03-12-2012 12:53 PM
Hi Sean,
I think I asked this in another post but I don't know what message is sent or how to capture that the tablet is about to go into standby so that I can ensure my app goes gracefully into standy, i.e. I would like to turn off the LED or set it before going into standby.
Roger
03-12-2012 01:05 PM
03-12-2012 01:12 PM
My apologies, I should have done that.
Thanks Peter
03-12-2012 02:26 PM - edited 03-12-2012 02:26 PM
rmisk wrote:
Hi Sean,
I think I asked this in another post but I don't know what message is sent or how to capture that the tablet is about to go into standby so that I can ensure my app goes gracefully into standy, i.e. I would like to turn off the LED or set it before going into standby.
Roger
Roger,
I asked around and the answer I got was that in standby, regular apps are told they are invisible and inactive.
Unfortunately this state is ambiguous, and would look the same as if the app was off-screen and inactive.
Cheers,
Sean
03-12-2012 03:07 PM
Thanks Sean, so there is no way for the developer to put an Application into Idle before the tablet switches to Standy.
Roger
03-12-2012 04:51 PM
03-12-2012 04:59 PM - edited 03-12-2012 05:00 PM
The people I spoke to were the owners of power manager and navigator respecively. Power manager maintains the required information, but not in a way that is exposed via the NDK. The design plan was that the appropriate services would translate this low-level information and present it to the user. The navigator is supposed to be the gateway for such state, but it sounds like there is room for additional notifications there.
It is possible (even likely) that the AIR player has the necessary hooks into power manager which ARE aware of this state information, but AIR is outside of the scope of this forum.
Cheers,
Sean