How to detect when your application is sent to background or bring into foreground ?
In your AppUi class, You have to re-implement the method:
void HandleForegroundEventL(TBool aForeground)
When called, aForeground says that, if true, your application is bring into foreground, while if false, your application is sent to background.
Here the implementation:
void CYourAppUi::HandleForegroundEventL(TBool aForeground)
{
// ..do something..
CAknViewAppUi::HandleForegroundEventL(aForeground);
}
lunedì 10 marzo 2008
Iscriviti a:
Commenti sul post (Atom)
Nessun commento:
Posta un commento