[maemo-developers] Re: Optimal battery life considerations in apps
From: daniel wilms daniel.wilms at nokia.comDate: Fri Jul 24 09:55:07 EEST 2009
- Previous message: Optimal battery life considerations in apps
- Next message: Optimal battery life considerations in apps
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, there is an API to detect if the window is in the foreground or not (thx to Kimmo for pointing me to this) [1]. If this property is true, then the window is visible on the screen. You can use this parameter directly from your root window. And here [2] you find the method to get the value of the parameter. [1] http://maemo.org/api_refs/5.0/beta/hildon/HildonWindow.html#HildonWindow--is-topmost [2] http://maemo.org/api_refs/5.0/beta/hildon/HildonWindow.html#hildon-window-get-is-topmost Cheers Daniel
- Previous message: Optimal battery life considerations in apps
- Next message: Optimal battery life considerations in apps
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]