How can I resume my app from its previous position.
Note that it is still active, just paused. So if I click the androids current app button, or the app icon it resumes fine.
But who do I do this from my widget..
I have the following:
// Create an Intent to launch Activity
Intent intent = new Intent(context, LoginForm.class);
PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, intent, 0);
This obviously launches the LoginForm as opposed to just resuming the application.
Does anyone know how to do this?
Edit:
Just to clarify, I dont want anything special. I basically want to mimic pressing the android icon launcher.