step1:
<span style="font-size:14px;"> /**
* 返回图片保存路径
* @return
*/
public String getFileDir(){
String _sate = Environment.getExternalStorageState();
if(_sate.equals(Environment.MEDIA_MOUNTED))
return Environment.getExternalStorageDirectory().getAbsolutePath();
return null;
}</span>
创建保存图片File
<span style="font-size:14px;">path = getFileDir()+"/zxb.jpg";
final File _imageFile = new File(path);</span>
<span style="font-size:14px;">Intent _cameraIntent = new Intent();