Please teach me about "android:allowclearuserdata=false" in Android2.2(Froyo).
This is similar to the following discussion. http://groups.google.com/group/android-developers/browse_frm/thread/b1091f190f7356b7 The "Clear data" button is enabled on the detail view of installed apps which is listed in Settings, even if the apps, which is set false to "android:allowclearuserdata", is located on "System/app". (There is some data, which is used by the apps, are located in /data/ data/"the name of the apps package"/shared_prefs/.) In Android2.1(Eclair), the "Clear data" button is not displayed. In Android2.3(Gingerbread), the button is disabled. In Android2.2(Froyo), is this behavior a bug?, or a specification ? And Is there some method which disable the "Clear data" Button surely? According to the following document, "Clear data" button is enabled when the app is located on "System/app". "http://developer.android.com/reference/android/ R.styleable.html#AndroidManifestApplication_allowClearUserData" The procedure to enable "Clear data" button: - Conditions - The app, which is set false to "android:allowclearuserdata",is located on /System/app. - Some data is located on /data/data/"the name of the app package"/ shared_prefs/. - Procedures 1. Push the menu key and select Settings. 2. Select Application item and then Application Settings is displayed. 3. Select Management of Application and the menu is displayed. 4. Select all tab and then the list of installed apps is displayed. 5. Select the app(which is set false to "android:allowclearuserdata"). - Result "Clear data" button is enabled(the button can be pushed). -- 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

