Check out example codes for "open camera or gallery on button click android". It will help you in understanding the concepts better.

Code Example 1

// Android Open Camera
Intent intent = new Intent("android.media.action.IMAGE_CAPTURE");
startActivity(intent);

Learn ReactJs, React Native from akashmittal.com