Yes, this is very inconvenient. Does google want to kill all the third party developers?
On Tue, Feb 25, 2014 at 12:21 PM, Nathan <[email protected]> wrote: > > > On Thursday, February 20, 2014 5:25:28 PM UTC-8, Nathan wrote: >> >> >> >> There is a chance that if I directed my users to use: >> Android/data/com.example.foo/ on external storage devices that they might >> be able to use their valued card. >> >> However, that is difficult to test as I don't have one of the target >> devices, much less all of them. >> > > Another snag with that idea I had. Based on this API, those files will get > wiped if the app is uninstalled. > > Very undesirable if the user uninstalled and reinstalled and loses > valuable data. > > Nathan > public abstract > File[]<https://developer.android.com/reference/java/io/File.html> > getExternalFilesDirs > (String<https://developer.android.com/reference/java/lang/String.html> > type) > Added in API level > 19<https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels> > > Returns absolute paths to application-specific directories on all external > storage devices where the application can place persistent files it owns. > These files are internal to the application, and not typically visible to > the user as media. > > This is like > getFilesDir()<https://developer.android.com/reference/android/content/Context.html#getFilesDir()> > in that these files will be deleted when the application is uninstalled, > however there are some important differences: > > > -- > 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 > --- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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 --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

