Android的恢复活动 [英] Android Resume Activity
问题描述
在我的应用程序,我开始一个活动,然后按一下按钮,显示HTTP URL(使用意图 - VIEW_ACTION)
In my app, I start an activity and then on button click, display an http url (using Intent - VIEW_ACTION)
因此,当在活动的中间,如果用户点击称为谷歌按钮时,它打开了google.com在浏览器中。
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?
谢谢 乔治
推荐答案
取这个帖子一看:
<一个href="http://stackoverflow.com/questions/151777/how-do-i-save-an-android-applications-state">http://stackoverflow.com/questions/151777/how-do-i-save-an-android-applications-state
这篇关于Android的恢复活动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!