On Thu, Sep 23, 2010 at 8:07 AM, Dirk Vranckaert
<dirkvrancka...@gmail.com>wrote:

> So when I intercept, and the user choses my application to start default,
> when I want to let open the application I intercept is that still possible
> or will it always return to mine?
>

I'm guessing it would return to yours, if you used the same intent that led
to your app opening. If you wanted to then open the second application,
you'd probably need an explicit intent for it, which would probably be
nearly impossible to do correctly and reliably considering the user could
have any number of apps that handle the original, generic intent.

It might be possible to get a list of activities that can handle the given
intent, remove your own, and then present that list to the user to allow
them to go to the desired application. I would start looking at
PackageManager for such things.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

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