Is it even possible? No one knows this? I suppose many users don't know how to do this on their phones, because it is rather complicated to understand for non programmers. I want to give my users the option to clear defaults of my app, within my app.
But how do I do this? On Apr 19, 3:01 am, Bonifaz <bonifaz.kaufm...@gmail.com> wrote: > This clears the preferences, but not the default flag set by a user > when a Intent Chooser is shown to him/her. > Am I right? > > How can I get back the Intent Chooser Dialog when a user previously > set my app as default. I know you can go to Manage Applications and > click "clear defaults" but how do I do this in code? > > On Apr 18, 3:01 pm, Menion <menion.as...@gmail.com> wrote: > > > > > > > I'm using this code ... hope it helps > > > PreferenceManager.getDefaultSharedPreferences(context).edit().clear().commi > > t(); > > > On Apr 16, 11:09 am,Bonifaz<bonifaz.kaufm...@gmail.com> wrote: > > > > Does anyone know > > > how to clear defaults of my own app by code. > > > > I know that a user can always go to Manage Applications, find my app > > > and click the button there to clear previously assigned default > > > actions. But for most users this isn't intuitive at all. > > > > I would like to offer my customers a solution to clear defaults within > > > my own app if they don't like to use my app as a replacement for a > > > specific action anymore. > > > > -- > > > 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 > > > athttp://groups.google.com/group/android-developers?hl=en > > > -- > > 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 > > athttp://groups.google.com/group/android-developers?hl=en > > -- > 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 > athttp://groups.google.com/group/android-developers?hl=en -- 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