
Originally Posted by
jkosonen
Hmm, why does it work if you manually put it to background then?
What you do manually is bringing an application to the foreground, like the Menu or the Home screen. After that it does not matter what other applications do in the background (stuck or not). It is different from sending your own application to the background, because in this latter case there are good chances that the non-responsive application will get the foreground.
An other test which could be done is: starting the IAP demo application, doing whatever you want from it (so testing the functionality, etc.), switching to the Home screen, switching back to the application, and exit from it. In this case the second element in the "stack" is the Home screen, and exiting the application is expected to make it responsive immediately. Since the invisible server app is somewhere else.
E: And is there any easy way to bring home screen in front, for regular developer like me?
Something like
Code:
const TUid KHomeScreenUID={0x100058b3};
TApaTaskList taskList(CEikonEnv::Static()->WsSession());
TApaTask task (taskList.FindApp(KHomeScreenUID));
task.BringToForeground();
The UID may vary, however: http://www.developer.nokia.com/Commu..._standby_phone