I just want to confirm that the camera cannot be used without an SD card on Android?
I launch the intention MediaStore.ACTION_IMAGE_CAPTURE to use the camera and try to get the camera to store the image in the application data folder
ContentValues values = new ContentValues(); values.put(Media.TITLE, "Image"); values.put(Images.Media.BUCKET_ID, path.hashCode()); values.put(Images.Media.BUCKET_DISPLAY_NAME, name); values.put(Images.Media.MIME_TYPE, "image/png"); values.put(Media.DESCRIPTION, "Image capture by camera"); values.put("_data", Constants.imagePath); Uri uri = getContentResolver().insert( Media.EXTERNAL_CONTENT_URI, values); cameraIntent.putExtra(MediaStore.EXTRA_OUTPUT, uri); startActivityForResult(cameraIntent, PICTURE_ACTIVITY);
I assume the camera cannot access the application data folder
So, without an SD card, is it impossible to use a camera?
user964283
source share