android studio imagepick dialog code example
Example: open camera or gallery on button click android
// Android Open Camera
Intent intent = new Intent("android.media.action.IMAGE_CAPTURE");
startActivity(intent);
// Android Open Camera
Intent intent = new Intent("android.media.action.IMAGE_CAPTURE");
startActivity(intent);