直接调用系统的拍照
Intent j=new Intent(Intent.ACTION_CAMERA_BUTTON);
//j.setAction(Intent.ACTION_CAMERA_BUTTON);
this.sendBroadcast(j);
选择调用相机(手机中有其他相机软件)
Intent i=new Intent("android.media.action.STILL_IMAGE_CAMERA");
//Intent i=new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
//i.setAction("android.media.action.STILL_IMAGE_CAMERA");
startActivity(i);