Android拍照保存在系统相册不显示的问题

 

1 Intent intent = new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE); 
2 Uri uri = Uri.fromFile(new File("/sdcard/image.jpg")); 
3 intent.setData(uri); 
4 mContext.sendBroadcast(intent); 

 

posted on 2014-11-05 14:05  屌丝迷途  阅读(321)  评论(0)    收藏  举报

导航