Integrate Java andriod studio into Qt
-
Hello,
I have an app that is developed using Java in android Studio, this app contains 2 layouts and some java classes.
My question is, Can I launch this layout from another app that is written in C++ android Qt?
Meaning that I have my normal app that is written using Qt, and I want when specific button is pressed to launch the android studio app inside a not full screen window.Thanks for your help
-
Hi.
I am pretty sure that you cant use an external layout to show up in Qt. But maybe it is sufficient to reuse exisiting java code? That is perfectly possible with Qt. Furthermore you have full connection to android functions itself. Maybe you should play around to start new activities that way? I know there are functions to start new activities like startActivity().
-
Maybe the following link will help you:
QAndroidJniObject -
I managed to do that but there is a question, Can I launch the activity not in full screen but in specific location.