Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
将图片保存在内存储器根目录,命名为“lzf.jpg”
  • Loading branch information
1019940946 authored Jun 16, 2016
1 parent 7e8aa6b commit 22901ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public void onClick(View v) {
if (v.getId() == R.id.zhaoxiang) {

Uri OutImageUri = Uri.parse("file://"
+ Environment.getExternalStorageDirectory() + "/lzf.jpg");
+ Environment.getExternalStorageDirectory() +"/lzf.jpg");
Intent intent;
intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
intent.putExtra("return-data", false);// 是否返回数据
Expand Down

0 comments on commit 22901ea

Please sign in to comment.