Android Cache Partition
来源:互联网 发布:河南 计价软件 编辑:程序博客网 时间:2024/05/21 12:43
转自:
Android Cache Partition
What means “Backup”?
Android's backup service allows you to copy your persistent application data to remote "cloud" storage, in order to provide a restore point for the application data and settings. If a user performs a factory reset or converts to a new Android-powered device, the system automatically restores your backup data when the application is re-installed. This way, your users don't need to reproduce their previous data or application settings. This process is completely transparent to the user and does not affect the functionality or user experience in your application.
How “Backup” works?
Settings->privacy->Back up my data
We can enable “Backup” here.
When backupping,BackupManager copy app’s own files to /cache/backup/app_name
When restoring,BackupManager copy files back from /cache/backup/app_name
System apps who use “backup”:
Settings, browser,inputmethod,userdictionary,
Wallpapers, wifi service and backup native command---bmgr
The space “Backup” takes depends on size of app’s files.
What’sDownloadProvider?
Android内部提供了一个DownloadProvider,是一个非常完整的下载工具,提供了很好的外部接口可以被其他应用程序调用,来完成下载工作。同时也提供和很好的下载、通知、存储等机制。
在Android的Browser等工具里面都用到了这个DownloadProvider。
在Android的Browser等工具里面都用到了这个DownloadProvider。
但是很遗憾的是,这个DownloadProvider不对app开发人员开放,只作为内部使用。
Market.apk 源码没有公开,推断使用了DownloadProvider进行app的下载
- Android Cache Partition
- Android Cache Partition
- ANDROID Cache
- Android Cache
- android-partition分析
- android-partition分析
- Android下取出partition数据
- Partition
- PARTITION
- partition
- partition
- partition
- Partition
- partition
- partition
- android webview cache 管理
- Android Memory Cache: LruCache
- HTML5 Cache, Android WebView
- MySQL 定时任务 事件调度器(Event Scheduler)介绍
- C++编程入行
- 4.3系统编译
- openfire 的配置文件
- Python IDE Eric4安装配置
- Android Cache Partition
- 设计模式C++描述----15.策略(Strategy)模式
- andriod建立NDK项目调用jrtplib与PC机通讯
- hdu1203 I NEED A OFFER! (01背包)
- 程序员分类,你是哪一类?——读《编程匠艺》
- 微信开发平台功能思维导图
- 常用的webservice接口
- 大数,高精度计算---大数加法
- 面向对象的三个基本特征 和 五种设计原则