On Tue, Oct 19, 2010 at 2:35 PM, BigTocSoob <[email protected]> wrote:
> is there a way to re-prompt the user to choose a default activity for
> an intent? For example, user selects his default home apk and I want
> him to reconsider his choice once again.
>
> I know how to do that on 2.1 and before, but is there a way to do that
> now on 2.2?

Only if yours was the current default activity. Then you can call
clearPackagePreferredActivities() to wipe out all of your activities
from being defaults.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books

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