android保存图片到sdcard后,在图片浏览器不能马上显示出来
在保存图片后,加入下面代码:
sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED, Uri.parse("file://"+ Environment.getExternalStorageDirectory())));
android保存图片到sdcard后,在图片浏览器不能马上显示出来
在保存图片后,加入下面代码:
sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED, Uri.parse("file://"+ Environment.getExternalStorageDirectory())));