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:
- Getting Started with Qt for Android
- Qt Creator: Creating a Mobile Application
- Qt Creator: Deploying Applications to Android Devices
- Publishing to Google Play
- Porting to Android
- Adding OpenSSL Support for Android
- Qt for Android - Building from Source
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 some of the features of 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 JNI calls.
- Android Custom Activity demonstrates working with custom Android activities.
- Qt JNI Music List demonstrates how to exchange data from complex Java objects.
- Android Service with Qt Remote Objects demonstrates how to run an Android service, and how to communicate between the service and the app using Qt Remote Objects.
For the full list examples, see Qt Android Extras Examples.
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.
Touch and Key Interaction
Images, Animation, and Layout
Particles and Effects
- Emitters (Particles)
- Affectors
- System
- Image Particles
- Shader Effects
Extending QML
© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.