views:

25

answers:

1

is there a way to reprompt 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?

Famous Home Switcher, which did similar thing, does not work on 2.2 anymore thanks to google team

A: 

For example, user selects his default home apk and I want him to reconsider his choice once again.

That is no longer possible, unless your app is the preferred one. Then, I think you can use clearPackagePreferredActivities() to remove yourself as the preferred choice.

In other words, you are welcome to affect your own app, but you are not welcome to affect other apps.

CommonsWare
yep, I use this method to release preference of my application, but I am looking for an opposite thing :)
mishkin
that Toddler Lock application is driving me crazy - it still works fine on 2.2 and the guy lock all the buttons and change preferences on the fly (it is implemented as a home screen) and when reset the preference back to user's home screen of choice. And it seems the author is google's developer :)
mishkin