yes, looks like that...
shit...
so i have to somehow save my last visited url and when it starts
/onCreate i have to load that url instead the StartUrl.

Or is there any other way I could prevent that onCreate is called
again?

Greets
Chris


On 20 Dez., 20:52, Mark Murphy <[email protected]> wrote:
> guruk wrote:
> > Hi,
>
> > I check within a Webview for a mp4 than I call:
>
> > Intent intent = new Intent(Intent.ACTION_VIEW);
> >                   intent.setDataAndType(Uri.parse(url), "video/mp4");
> >                   startActivity(intent);
> >                   return true;
>
> > to start the Videoplayer with that VideoUrl
>
> > FINE, works perfect.
>
> > But when i close the Videoplayer I would wish (and it was once)
> > that he just show the Webview as it was before (with the link to the
> > video)
>
> > Instead it restarts my App . goes onCreate again and than jumps in
> > onResume??
> > Usualy after an Activity is closed it jumps into the onRestart !!!
>
> > So what could be wrong??
>
> Perhaps your activity was destroyed to free up memory for the video
> playback, and then has to be re-created after you BACK out of the video
> player.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Android Development Wiki:http://wiki.andmob.org

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