I am new in Qt android app development. I want to open camera and take picture and get the path of image by using QtAndroid, and JNIObject.
For example,
Intent capture_image_intent = new Intent();
capture_image_intent.setAction(MediaStore.ACTION_IMAGE_CAPTURE);
startActivityForResult(capture_image_intent, 101);
I want to launch camera in my Qt android app by using Qandroidjniobject. So, please help me to write a code in qt.
I solved this above problem in Qt by using Qandroidjniobject.
For launching camera by using intent code is given below,