码迷,mamicode.com
首页 >  
搜索关键字:getexternalstoragedi    ( 2个结果
android 判断手机中是否有SD卡,USB。静态判断
public static String getSDPath(Context context) { String sd = null; StorageManager storageManager = (StorageManager) context .getSystemService(Context.STORAGE_SERVICE);...
分类:移动开发   时间:2015-08-29 09:49:10    阅读次数:188
application/vnd.android.package-archive到底是什么
在拜读组里北大研二的安卓代码的时候, 读到登录前检测版本后更新的代码。发现了一个不懂的地方。 void update() { Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.fromFile(new File(Environment .getExternalStorageDi...
分类:移动开发   时间:2015-05-18 13:02:26    阅读次数:1631
2条  
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!