android activity
摘要:
知识点一:activity的生命周期http://www.360doc.com/content/11/0111/13/5460632_85721880.shtml知识点二:后台的Activity被系统回收怎么办:onSaveInstanceState 当你的程序中某一个Activity A 在运行时中,主动或被动地运行另一个新的Activity B 这个时候A会执行publicvoidonSaveInstanceState(BundleoutState){ super.onSaveInstanceState(outState); outState.putLong("id",1234567890 阅读全文
posted @ 2011-01-17 12:23 tt_mc 阅读(1148) 评论(0) 推荐(0) 编辑