On Fri, May 28, 2010 at 1:17 PM, skink <[email protected]> wrote: > > http://developer.android.com/intl/fr/reference/android/preference/PreferenceManager.html#setDefaultValues(android.content.Context, > int, > boolean)
This is not what the OP is asking - when you execute an action, if there are multiple activities that support that action you can choose which to use and optionally set it as the default handler of that action. For example, if you have two browsers and click a link, you can choose which to use and set one as the default so it's always called instead of giving you the choice. However, if you later decide you no longer want that activity to handle that action by default, you have to go through the preferences, select the app that is the default for that action, and hit a button to clear it as the default handler for that action. The OP wants to know if there is a way to programmatically do the equivalent of going through those steps. This has nothing to do with an app's own preferences. OP - I don't know if this is possible, but as a next best thing you could possibly tell the user what they have to do and then open the manage application's settings page for them and let them finish the process. ------------------------------------------------------------------------------------------------- TreKing - Chicago transit tracking app for Android-powered devices http://sites.google.com/site/rezmobileapps/treking -- 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

