0
Intent camera = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
//Using a File so it overwrites previous camera shot
File pictureFile = new File(cameraImagePath);
camera.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(pictureFile));
startActivityForResult(camera, TAKE_PICTURE);
我正在使用此代碼來獲取相機鏡頭,然後上傳到圖像板。問題在於,在某些手機上,GPS位置記錄在EXIF數據中,用戶不知不覺地顯示其位置。是否有一些價值,我可以添加到意圖告訴相機應用程序不記錄任何EXIF數據?設置相機意圖不添加EXIF數據
(使用1.6 API也是)