Qt for Android Examples | Qt 5.15

- Qt 5.15
- Qt for Android Examples
- Qt 5.15.2 Reference Documentation

# 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

- Touch Interaction
- Key Interaction
- MouseArea

Images, Animation, and Layout

- Image Elements
- Text
- Animation
- Canvas
- Positioners
- Right to Left

Scenegraph

- Custom Geometry
- Graph
- OpenGL Under QML
- Painted Item
- Rendering FBOs
- Simple Material

Particles and Effects

- Emitters (Particles)
- Affectors
- System
- Image Particles
- Shader Effects

Extending QML

- Grouped Properties
- Methods
- Signal Support
- Attached Properties

Multimedia

- Video Shader Effects Example
- Video Example
- Camera Example

Location

- Map Viewer Example
- Places Map Example
- Plane Spotter Example