String picFileFullName =outFile.getAbsolutePath();//图片路径
ContentValues contentValues =newContentValues(1);
contentValues.put(MediaStore.Images.Media.DATA, picFileFullName);
Uri uri = getContentResolver().insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI,contentValues);
intent.putExtra(MediaStore.EXTRA_OUTPUT, uri);
startActivityForResult(intent,TAKE_PICTURE);