For a quick example, download Astro File Manager, click on a image file, you should see 2 actions: * ASTRO Image Viewer * View Picture (standard) And a check box "Use by default for this action", I choosed "View Picture". If you check it, a text explains (ok it does not "tell", don't play on words...) : "Clear default in Home Settings > Applications > Manage applications. If you go there, then click on Astro: the Clear defaults button is disabled. But I eventually realized that I misunderstood the feature, we have to clear the default launching in the choosed application, not the triggering one, e.g. Camera in my example...
But my second question remains unsolved: there is an interesting flag in the Manifest: android:allowClearUserDataWhether or not users are given the option to remove user data — "true" if they are, and "false" if not. If the value is " true", as it is by default, the application manager includes an option that allows users to clear the data. It's enabled by default. Turning it to false (or explicitly to true) seems to have no effect at all. The application controls I have for any Market/Eclipse apps are: * Uninstall * Clear cache (what cache ? web cache ?) * Clear defaults (ok now) * Force stop In the built-in applications I have also an extra "Clear data" button. How to make this button appear for my app ? Is that "allowClearUserData" is supposed to do ? In this case there is a bug or a nasty limitation. 2009/5/23 Mark Murphy <[email protected]> > > > I have the same bug for all non standard applications, whatever the > > phone I tested. > > What's going on with this feature ? > > It is difficult to answer this question, since you have not really said > what the "feature" is you are curious about. > > >> > I check the box, it tells me that I can clear the setting in > >> > Application -> Manage Applications. > > From your original post, my guess is that this is where you are starting > to encounter what you feel is unusual behavior. However, this sentence is > not very clear: > > -- What is "it" in the expression "it tells me"? > > -- What "setting" does "it" tell you to clear? > > -- By "tells me", do you mean the phone spoke to you, and if not, how did > it communicate with you? > > Some code snippets and a dump of the stack trace (assuming "it tells me" > is referencing some exception) might help us help you better. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com > _The Busy Coder's Guide to Android Development_ Version 2.0 Available! > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

