TreKing wrote: > 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. > >
oh yes, my apologies, i was to quick reading just the first paragraph pskink -- 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

