2017年4月6日

获取SD卡路径

摘要: public static String getSDPath(){ File sdDir = null; boolean sdCardExist = Environment.getExternalStorageState().equals(android.os.Environment.MEDIA_M 阅读全文

posted @ 2017-04-06 15:14 yaolunhui 阅读(135) 评论(0) 推荐(0) 编辑

保存Bitmap图像

摘要: /** * 保存文件 * @param bm * @param fileName * @throws IOException */ public void saveFile(Bitmap bm, String fileName) throws IOException { String path =  阅读全文

posted @ 2017-04-06 15:14 yaolunhui 阅读(154) 评论(0) 推荐(0) 编辑

adb not responding. if you'd like to retry then please manually kill adb.exe and click 'restart',restart

摘要: 最近Android Studio老是提示一个问题,adb not responding. if you'd like to retry then please manually kill adb.exe and click 'restart',restart没用,kill-server和start- 阅读全文

posted @ 2017-04-06 12:54 yaolunhui 阅读(540) 评论(0) 推荐(0) 编辑

导航