public static String getSDPath(Context context) {
String sd = null;
StorageManager storageManager = (StorageManager) context
.getSystemService(Context.STORAGE_SERVICE);...
分类:
移动开发 时间:
2015-08-29 09:49:10
阅读次数:
188
在拜读组里北大研二的安卓代码的时候,
读到登录前检测版本后更新的代码。发现了一个不懂的地方。
void update() {
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(Uri.fromFile(new File(Environment
.getExternalStorageDi...
分类:
移动开发 时间:
2015-05-18 13:02:26
阅读次数:
1631