Sunday, December 20, 2009

[android-developers] After Activity closed, restart of APP??

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

thx
chris

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate