I currently make my activity support few different MIME types and I
receive the request at onCreate() than I do the following to actually
get the request:

String data = getIntent().getDataString();
String type = getIntent().getType();

Once I get the request, I remove the request from the intent so that
every time the onCreate get's called I don't process that request
again:

this.getIntent().setDataAndType(Uri.parse(""), "");
this.getIntent().removeExtra("data");
this.getIntent().removeExtra("type");


Currently this works but if the activity goes to the background and
eventually get's terminated and I return the activity to the
foreground the request returns data from the previous request...
Why?  How can I remove a request completely?  On screen rotation I
don't get the request any longer... so what's up with activity being
restarted request shows up again?

Thanks!
-Moto
-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to