qtandroidextras Questions
4
Solved
I have an android application in QT.
I would like to call android settings from a button.
I used this code in Java :
public void usb(View v){
Intent intent = new Intent();
intent.setClassNam...
Gangrel asked 29/7, 2014 at 20:42
1
Solved
I am trying to install Qt with android , but i am facing issues while adding AVD,
sdk location : D:\android-sdk
ndk location : D:\android\android-ndk-r15c-windows-x86_64\android-ndk-r15c
creator s...
Gadolinite asked 3/10, 2017 at 5:37
3
Solved
I found a couple of solutions how to do that in Java, but did not find how can I do it in QML or Qt. I know that first I should set the WAKE_LOCK permission in AndroidManifest.xml. What should I do...
Juju asked 3/1, 2015 at 19:5
2
Solved
I'm trying to use QAndroidJniObject. As a test I'm just calling 2 Java functions, one returns an int, the other a string.
When returning an int, this code compiles fine:
jint a = QAndroidJniObjec...
Combustor asked 6/12, 2014 at 11:48
2
In my Qt Quick-based app whose first target platform is Android I need to enable the user to share an image. By that I mean the general share action on Android, which isn't limited to any particula...
Healthful asked 8/5, 2015 at 16:33
2
Solved
I'm calling a Java function that returns a string:
QAndroidJniObject obj = QAndroidJniObject::callStaticObjectMethod<jstring>("HelloJava", "getString");
jstring jstr = obj.object<jstring&...
Ullund asked 7/12, 2014 at 17:33
1
I have this main window:
ApplicationWindow {
id : mainWindow
width: 640
height: 480
visible: true
Button{
text: "go back to form 1"
onClicked: {
form2.visible = true;
}
}
SecondForm{
...
Sanguine asked 10/3, 2015 at 10:25
1
© 2022 - 2024 — McMap. All rights reserved.