Hi All,

I'm trying to save the state of my app while I shut it down but every
time I bring it back up savedInstanceState is always null..? I
couldn't seem to find much info on calling onSaveInstanceState
properly so here's what I did

onPause ()
{...
  Bundle test = new Bundle();
  this.onSaveInstanceState(test);
}
onSaveInstance(Bundle save)
{
  save.putBoolean("Run", true); // testing
  super.onSaveInstanceState(save);
}

I'd rather use this method than writing to a file or using the saved
preferences..

Can someone help me out?

Thanks,
Chris

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to