android Programming Glossary: resumeactivity
Use a persistent notification to allow the user to return to running Android app http://stackoverflow.com/questions/3568250/use-a-persistent-notification-to-allow-the-user-to-return-to-running-android-app idea of creating a returnFromNotify activity better than your proposed workaround as it is possible to detect if the ResumeActivity is at the bottom of the stack and therefore the only activity in the stack . Here's how you can do it Add your ResumeActivity.. is at the bottom of the stack and therefore the only activity in the stack . Here's how you can do it Add your ResumeActivity to the manifest and specify the noHistory attribute activity android name .ResumeActivity android noHistory true Specifying.. how you can do it Add your ResumeActivity to the manifest and specify the noHistory attribute activity android name .ResumeActivity android noHistory true Specifying noHistory will make sure this Activity won't stay in the stack as soon as it finishes...
|