Qt for Android Examples

This page lists Qt examples that have been tested to run on Android. However, most Qt Examples can be run on Android even though they are not listed here.

Running the Examples

To run examples from Qt Creator, select Welcome > Examples, and then select an installed Qt for Android to filter the examples that have been tested to run on Android. For more information, see Building and Running an Example.

Essentials

The following sections describe how to get started with developing applications for Android:

Qt Android Extras is an Android specific module used to integrate Qt API with Java API by enabling communication between Qt code {C++ and QML} and Java code. The following examples demonstrate using the module:

  • Qt Notifier .demonstrates how to call Java code from an Android application.
  • Qt JNI Messenger demonstrates communication between Java code and QML or C++ using NJI calls.

Qt Quick and QML Examples for Android

The following Qt Quick and QML examples are useful when developing applications for Android. For a full list of Qt Quick examples including beginner-level tutorials, see Qt Quick Examples and Tutorials.