Important: Please read the Qt Code of Conduct -

How to get activity result back to C++ using JNI in Qt 5.2.1??

  • Hi,

       I am developing an application for getting images from mobile. for that i have written a function called openPhotoLibrary()  in android and calling this function from qt c++ using JNI. 
        In openPhotoLibrary() started a new activity using  startActivityForResult() for image selection and getting path of selected image  in  onActivityResult() correctly. so my question is how we can pass this result back to c++ ?

    Thank you for your help & support

Log in to reply