When the launcher is clicked, the current activity is always brought up if it exists. So if you wanted to return to the parent activity you would have to either finish the other activities on the stack or relaunch the original activity. I can determine this by simply setting a boolean when your app is paused/resumed etc.
Personally, if your app tried to play a video every time I opened it, regardless of whether or not I was in a different sub activity, I would uninstall your app very fast. --------------------------------------- Creator of My College Life http://mycollegelife.org On Apr 8, 11:07 am, Ferm <[email protected]> wrote: > I want to play a video when the main activity launches from the > appicon. > > Application.onCreate() is not always called and Activity.onResume/ > onCreate is called to many times (e.g. when user goes back from child > activity). > > How can I do this? > Thanks! -- 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 To unsubscribe, reply using "remove me" as the subject.

