Friendiqa/source-android/androidnative.pri/examples/androidnativeexample
2017-11-08 21:15:07 +01:00
..
android-sources v0.1 2017-11-08 21:15:07 +01:00
dialog v0.1 2017-11-08 21:15:07 +01:00
imagePicker v0.1 2017-11-08 21:15:07 +01:00
info v0.1 2017-11-08 21:15:07 +01:00
notification v0.1 2017-11-08 21:15:07 +01:00
res v0.1 2017-11-08 21:15:07 +01:00
statusbar v0.1 2017-11-08 21:15:07 +01:00
theme v0.1 2017-11-08 21:15:07 +01:00
toast v0.1 2017-11-08 21:15:07 +01:00
androidnativeexample.pro v0.1 2017-11-08 21:15:07 +01:00
androidnativeexample.pro.user v0.1 2017-11-08 21:15:07 +01:00
Components.qml v0.1 2017-11-08 21:15:07 +01:00
debugwrapper.cpp v0.1 2017-11-08 21:15:07 +01:00
debugwrapper.h v0.1 2017-11-08 21:15:07 +01:00
deployment.pri v0.1 2017-11-08 21:15:07 +01:00
main.cpp v0.1 2017-11-08 21:15:07 +01:00
main.qml v0.1 2017-11-08 21:15:07 +01:00
qml.qrc v0.1 2017-11-08 21:15:07 +01:00
qpm.json v0.1 2017-11-08 21:15:07 +01:00
README.md v0.1 2017-11-08 21:15:07 +01:00

AndroidNative Example Program

Prerequisites

  • Qt Android SDK >= 5.6
  • Android SDK

Check this article for how to setup Qt and Android SDK:

Getting Started with Qt for Android

Build Instruction

  1. Run qpm install to get required packages
  2. Open androidnativeexample.pro by Qt Creator
  3. Press the "Projects" tab. Make sure the "Android for xxx" kit has been selected
  4. Plug a Android device to your computer
  5. Press "Build" -> "Run"
  6. The program will be deployed to your device. It is so easy!

Screenshot