SD卡

//判断SD卡是否存在
1
Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED);
2 File file = Environment.getExternalStorageDirectory();

 

//拍照
1
Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); 2 startActivityForResult(intent, TAKE_PICTURE);

 

posted @ 2013-10-05 11:03  wangzhenxiang  阅读(117)  评论(0编辑  收藏  举报