android - 卸载应用程序时如何从SD卡中删除文件

标签 android sd-card uninstallation

我有一个录音应用程序,我想在卸载这个应用程序时删除这个声音文件。这怎么可能?

最佳答案

您应该将文件存储在内部存储器中。因此,当应用程序被删除时,文件也会被删除。 http://developer.android.com/guide/topics/data/data-storage.html#filesInternal

关于android - 卸载应用程序时如何从SD卡中删除文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16413415/

相关文章:

Android:在 SD 卡上写入 xml

linux - SD卡格式化后无法识别

Wix ExePackage 并行安装而不卸载

wordpress - 由于错误 : Could not fully remove the plugin(s) my-plugin/my-plugin. php,无法删除插件

android - 如何解析 Android 布局 xml 文件以创建帮助页面的副本?

android - 迁移到 New Places SDK 时遇到的问题

android - 如何从Android上的SD卡读取选定的文本文件

django - 如何从我的项目中卸载 dj-stripe?

android - 在 Activity 之间传递解析对象

android - 无法使用错误 : There's another emulator instance running with the current AVD 启动 android 模拟器