12.2.2015
Today the day has come, where I want to do my first experience on writing code for adnroid apps :)
I tried to deploy an example app (NetworkConnect), but my phone isn't recognized. There are a view things, that have to be done:
lsusb
find the line with the phone. in my case it is:
Bus 003 Device 007: ID 0fce:61a7 Sony Ericsson Mobile Communications AB
then edit the permissions file:
sudo kate /etc/udev/rules.d/51-android.rules
and add the line
SUBSYSTEM=="usb", ATTR{idVendor}=="0fce", MODE="0666", GROUP="plugdev"
25.2.2015
I've also tested Qt 5.4 on Android 4.4 and 2.3.3 (HTC Desire Z)
In addition to Qt Creator and the Qt SDK we also have to install Android SDK and NDK.
But with this done, it works flawless as expected with Qt! Really Great!
The menu bar of the QMainWindow is displayed on Android 4.4 as a 3-dot button, and on Android 2.3 it comes up, when hitting the hardware menu button.
Until now, I've only tested QtWidgets. Perhaps QtQuick would also be very impressive. But I think I have heard, that QtQuick doesn't present a native look and feel.
With Qt 5.9
Virtualbox
sudo add-apt-repository ppa:linuxuprising/java sudo apt update sudo apt install oracle-java11-installer sudo apt install oracle-java11-set-default
Noch geht's nicht, Qt Creator beschwert sich darüber, dass SDK nicht installiert ist. Der sdkmanager in /tools/bin kann nicht ausgeführt werden, weil es zu Java Laufzeitfehlern kommt…
Nun probier ich es mit der Installation des Android Studios… So hats geklappt. NDK muss über den sdkmanager nachinstalliert werden, aber dann findet Qt Creator alles, was er braucht um die App zu compilieren und aufs Handy zu laden.
sudo apt install openjdk-8-jdk