Save a file with app state in othe nPause() method in android -
i want write incomplete app state file if user leaves app without saving state. believe have use onpause(). recommended practice? (in onpause() going encrypt string , create file , store it, bit time consuming).
if onpause() not place how save state?
yes save data onresume()
state
@override protected void onpause() { // todo auto-generated method stub super.onpause(); // stuff here }
Comments
Post a Comment