[android-developers] Re: How to delete directory from SD card on uninstall?

2010-07-15 Thread Tina
Thank you for your answer, Mark!

 In Android 2.2+, if you use getExternalFilesDir() or
 getExternalCacheDir(), those directories will be removed when your app
 is uninstalled.
Does in means that on any devices with API Level 7 or lower I can not
delete my directory form SD card on uninstall, only user can do it?

Tina

-- 
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


Re: [android-developers] Re: How to delete directory from SD card on uninstall?

2010-07-15 Thread Mark Murphy
On Thu, Jul 15, 2010 at 10:13 AM, Tina tina...@gmail.com wrote:
 Does in means that on any devices with API Level 7 or lower I can not
 delete my directory form SD card on uninstall, only user can do it?

Correct.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.1 Available!

-- 
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