benlau / androidnative.pri

Calling Android functions from Qt without using JNI
Apache License 2.0
103 stars 15 forks source link

ImagePicker doesn't return result #17

Closed cvh1304 closed 6 years ago

cvh1304 commented 6 years ago

I have a proplem with ImagePicker. onActivityResult method not being called. ImagePicker recieve from SystemDispatcher 3 messages: androidnative.SystemDispatcher.loadClass, androidnative.ImagePicker.pickImage and after them androidnative.Activity.onResume. I use API 19, and latest version Android SDK and NDK.

I was glas to find this package. This package really best way to use android native in Qt without JNI. Thank you.

cvh1304 commented 6 years ago

Sorry for my issue. I solve the problem. I just change PICK_IMAGE_ACTION value and it works.