[Solved] Qt + Java (from Android)
-
Hello there,
Right now I have a pretty basic Qt application running from Android with no issues, but I would like to make some calls to Java intents from the C++ code. The ideas is to share objects or texts through social networks, access to the contact list and things like that making intent calls.
As far as I was looking around the Necessitas source code, it seems to make at least one of the intent calls I want to do.
I really appreciate any hint about the code I need to include in my project to access/call some (Android) Java intents. A "Hello World" example would be great!
Thank you!
-
This is exactly what I was looking for:
http://community.kde.org/Necessitas/JNI
I hope this can be useful for somebody else! :)
-
This is the source code of the project I was working on:
https://github.com/xtingray/tupi.mobile
Last year, I compiled it using MInistro/Qt4 and it worked. I ported the small code to Qt5 but I haven't tried again, so I have no idea if it works now.
I hope this can gives you a hint. Good luck!