Is there any way that we can add separate SDK (Java) Activity to the make process in Qt 5.2 for Android?
I have Qt application that I've compiled for Android and I want to start my own SDK Activity from it, and I was wondering if I can include that activity in the current application.
Qt for Android enables you to develop Qt applications for Android devices, and supports a wide range of features and use-cases. To download and install Qt for Android, follow the instructions on the Getting Started with Qt for Android page. To build Qt from source, see Building from Source.
“Qt is stronger when it comes to the mobile UX, the Android development environment offers better developer assistance and debugging, and both are strong when it comes to manipulating media files.
Note: In Qt Creator, select Projects > Build > Build Steps > Build Android APK > Open package location after build to build the application's . apk and open the directory containing the package.
Through JNI you can do that. Although it is probably not the only way. You can use the Qt Android Extra module. The example is really simple: http://qt-project.org/doc/qt-5/qtandroidextras-index.html.
Have a look in particular to http://qt-project.org/doc/qt-5/qtandroid.html#startActivity.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With