when i start my apps, it will requires login. after login process, i want to set my apps to be run on background (i can close the apps and do something else, but it still running). i want to do that manually (choose an option to run background)
when my apps is closed, can this dialog appear?
answer = iEikonEnv->QueryWinL(_L("You Have Message(s)"),_L("Do You Want to Read?"));
//do the process
then if i answered "yes"... my apps opens automatically and do the rest.
is there anybody has ever try this? can anybody help me...
mayb the point of my question is...
1. can i close my apps manually, but it still running?
2. can iEikonEnv->QueryWinL() appear anywhere on the phone?
3. how to automatically open my apps back?
To hide the application you can send it to the background like this:
If you also need to launch the application in the background so that the user doesn't see it all, you can use this code:
CApaCommandLine *cmd = CApaCommandLine::NewL();