[android-developers] Re: how to arrange for onNewIntent() ?

2009-08-19 Thread Iroid
What if I do not want to call onCreate each time my orientation gets change? I am setting the singleTop mode for the activity in manifest file. override onNewIntent(), But still each time onCreate of that activity is getting called. Please help. On Jul 29, 8:07 pm, Dianne Hackborn wrote: > onN

[android-developers] Re: how to arrange for onNewIntent() ?

2009-07-29 Thread Dianne Hackborn
onNewIntent() is for special cases where you are launching an existing activity instance with a new intent. For example, if you have a single activity for showing the information related to a notification -- the user can go to it from the notification, not close it, then get a new notification and

[android-developers] Re: how to arrange for onNewIntent() ?

2009-07-29 Thread Mark Murphy
Jason Proctor wrote: > i have two activities, the first accepts some user input and sets the > second's configuration to do stuff. the droid way of doing this, > correct me if i'm wrong here, is to set the configuration in the > intent using putExtra() and then override onNewIntent() to pick up