PhotoUtil
PhotoUtil copied to clipboard
This util is for Camera photos, Gallery photos, loading images, and encoding/decoding images to/from base4.
Error
android.os.FileUriExposedException: file:///storage/emulated/0/Pictures/JPEG_20181128_150842_1591436792.jpg exposed beyond app through ClipData.Item.getUri()
I have saved image to SQLite DB as a BLOB type and i want to retrieve it again and set to Image View. I captured image using your PhotoUtil. when...
hi, your method doesn't work in fragment ?? my code is: public void onClick(View v) { try{ startActivityForResult(cameraPhoto.takePhotoIntent(),CAMERA_REQUEST); cameraPhoto.addToGallery(); } catch(IOException e){ Toast.makeText(getApplicationContext(), "taking photos", Toast.LENGTH_SHORT).show(); } } ////////////////////////////////////////////////////////// add...
Could you add a video capture option and send it to the server? It'll be really nice and I'm sure it will not take you much time to your ability....