Android的内部存储更新时,应用程序 [英] Android Internal Storage when updating application

查看:147
本文介绍了Android的内部存储更新时,应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用的是内部存储(http://developer.android.com/guide/topics/data/data-storage.html#filesInternal)来存储一些必要的应用程序文件,用户创建。

I use the internal storage (http://developer.android.com/guide/topics/data/data-storage.html#filesInternal) to store some necessary application files, that the user creates.

我想,这些文件永久保存吗?他们只有当用户卸载应用程序中删除,我是不是正确的?

I suppose that these files are stored forever right? They are removed only when the user uninstalls the application, am I correct?

在更新的情况下,通过Android Market的应用程序(例如,从1.0版到1.1),那么会发生什么事是被存放在previous版本的文件?他们是删除或不?

In case of updating the application (for example from version 1.0 to 1.1) through the Android Market, then what will happen to the files that were stored from the previous version? Are they deleted or not?

感谢你在前进。

推荐答案

在的情况下(从1.0版到1.1为例)通过Android Market更新的应用程序,这是存储在previous版本的文件会在那里的设备上,如果你卸载应用程序,以获取新的版本,则文件将被删除。

In case of updating the application (for example from version 1.0 to 1.1) through the Android Market, the files that were stored from the previous version will be there on the device and if you uninstall the app to get the new version then the files will be deleted.

这篇关于Android的内部存储更新时,应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆