Step 1 : download the tools you need
- The Android SDK Tools
- The Android NDK
- Apache Ant v1.8 or later
- Java SE Development Kit (JDK) v6 or later. You can also use OpenJDK on Linux.
About the android NDK, make sure you didn't download the legacy-toolchains(I don't know what is this for yet), download the bigger one.
Step 2 : setup the android configurations
graph_00 |
graph_00 show you how to setup the location after you unzip and install(this step is trivial, if you got any question, please leave me a comment).
Step 3 : pick a devices and give it a test
My device is GT-S6310, I use api 10 and armeabi to deploy the example of calculator(QWidget) onto the device.
graph_01 |
Connect the device by usb, click the run button and you will see the app run alive and kicking on the device.Do remember to enable the debugging options of your device.In my case,
it is Settings->Developer options->USB debugging(enable this one), if you don't enabled it, your mac can't detect the device(you could check the device is connect or not by "adb devices").
I tried other examples like maroon, emitters, same, qml video effects, not all of them are deployable, even they did, not all of the functions are work flawlessly. In my humble opinion, Qt5.2 beta1 still far from productive on android.Hope that the release version of Qt5.2 could give users a much more stable library.
I tried other examples like maroon, emitters, same, qml video effects, not all of them are deployable, even they did, not all of the functions are work flawlessly. In my humble opinion, Qt5.2 beta1 still far from productive on android.Hope that the release version of Qt5.2 could give users a much more stable library.
No comments:
Post a Comment