android context.getCacheDir()缓存目录
16lz
2021-01-23
android中上下文Context大家都不陌生,而Context中有个getCacheDir()方法,通过这个方法可以创建缓存数据到指定的目录,而这个目录具体在那呢?经过验证目录在data/data/包名/cache/
更多相关文章
- android的singleInstance启动模式及方法调用
- Android 中数据库查询方法 query() 中的 selectionArgs 的用法
- Android中设置中文粗体的方法
- RelativeLayout相对布局方法总结
- 两种button点击后改变颜色的方法selectot和重写
- Android中设置屏幕全屏两种方法:
- Android的res目录
- Android性能优化的一些方法
- Android 4.0.3 源码编译中添加外部jar包和外部so到apk的方法