Android using shared preference and Dispatcher activity, to get back to the last activity (after reboot the phone)
问题 I'm using a Shared Preferences to save the state of my application to be able to get to the last activity before my Android Handphone got re-boot-ed. My purpose is when Android system manage the memory and push out my apps, when users re-enter to the apps, they will get to the last Activity and screen of my apps. And this is some of my code : First is DispatcherActivity.java : > package com.lm.rosary; > > import android.app.Activity; import android.content.Intent; import > android.content