How to get camera result as a uri in data folder?
There are two ways to solve this problem. 1. Save bitmap which you received from onActivityResult method You can start camera through intent to capture photo using below code Intent cameraIntent=new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE); startActivityForResult(cameraIntent, CAMERA_REQUEST); After capture photo, you will get bitmap in onActivityResult method if (requestCode == CAMERA_REQUEST) { Bitmap photo = (Bitmap) data.getExtras().get(“data”); } … Read more