KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In the Android Activity lifecycle, when Activity.onCreate() is called after resuming (IE. not when activity created initially or in response to screen rotation) would this code return a valid (non-null) Bundle? public void onCreate(Bundle savedInstanceState) { Bundle b = this.getIntent().getExtras(); // is b == null? (when activity is resumed) } I am trying to reproduce a problem that occurs when the application has not been used for a long period - when the user returns, the application crashes.
Tags (comma-separated)
Save Edits
Cancel