Forget about the video, I want to hook into when the user pushes my app icon, i.e. I want to know each time that the user is expecting the app to start.
On Apr 8, 7:49 pm, theSmith <[email protected]> wrote: > 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 Lifehttp://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.

