if I start an activity which is already up from within my application,
I get:

    MyActivity.onRestart()
    MyActivity.onStart()
    MyActivity.onResume()

If I start the activity from within my application widget, I get:

    MyActivity.onCreate()
    MyActivity.onStart()
    MyActivity.onResume()

Even though I start both activities with the same intent:

    Intent intent = new Intent(this, MyActivity.class).
                           setAction("MyAction");
    intent.addFlags( Intent.FLAG_ACTIVITY_REORDER_TO_FRONT  );

Why would it be creating a new activity?

tia.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to