Not in my experience.
See my previous posts in this thread.
E.g.:
public class MyActivity extends Activity {
...
...
// This method is called when you need to 'refresh' the activity with
modified intent-data.
public void refreshWithNewData() {
Intent newIntent = new Intent(getIntent());
...
newIntent.removeExtra("data");
newIntent.removeExtra("type");
...
this.startActivity(newIntent);
}
public void onNewIntent(Intent newIntent) {
super.onNewIntent(newIntent);
setIntent(newIntent);
...
...
// The new intent should be the same intent with which this
singleTop(singleTask/Instance) activity was started last.
...
}
}
If your code calls 'refreshWithNewData()', then your activity is restarted
with a new intent without "data" and "type" extras. You'll see this new
intent showing up when the system calls onNewIntent or when your activity is
restored after your process has been killed.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en