Android Resume Activity

十年热恋 提交于 2019-12-08 09:40:15

问题


In my app, I start an activity and then on button click, display an http url (using Intent - VIEW_ACTION)

So when in the middle of the activity, if the user clicks the button called "Google", it opens up google.com in the browser.

When I hit the back button, it comes back to my original activity screen. How can I get my activity to resume from where it left of?

Thanks George


回答1:


Take a look of this post:

Saving Android Activity state using Save Instance State



来源:https://stackoverflow.com/questions/2767869/android-resume-activity

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!