Qt for Android 范例

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

运行范例

要运行范例从 Qt Creator ,选择 欢迎 > 范例 , and then select an installed Qt for Android to filter the examples that have been tested to run on Android. For more information, see 构建和运行范例 .

必需

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 和 QML 范例 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 范例和教程 .

Touch and Key Interaction

Images, Animation, and Layout

Scenegraph

粒子和效果

扩展 QML

多媒体

定位