Qt Android Extras Examples

These are the examples available in the Qt Android Extras module.

Note: These examples will only work on Android.

Android Custom Activity

Demonstrates working with custom Android activities.

Android Service with BroadcastReceiver

Demonstrates how to run an Android service in a separate process using a separate .so lib file, and how to communicate with Qt using a BroadcastReceiver.

Android Service with BroadcastReceiver - Same Lib File

Demonstrates how to run an Android service in a separate process, and how to communicate with Qt using a BroadcastReceiver.

Android Service with QAndroidBinder

Demonstrates how to run an Android service in a separate process, and how to communicate between the service process and the main process using QAndroidBinder.

Android Service with Qt Remote Objects

Demonstrates how to run an Android service in a separate process, and how to communicate between the service process and the main process using Qt Remote Objects.

Android Service with Qt Remote Objects - Same Lib File

Demonstrates how to run an Android service in a separate process using the same lib file, and how to communicate between the service process and the main process using Qt Remote Objects.

Native Android Service in Same Process

Demonstrates how to run an Android service in the main process, and how to communicate between QML/C++ and a Java service.

Qt JNI Messenger

Demonstrates communication between Java code and QML or C++ using NJI calls.

Qt JNI Music List

Demonstrates how to exchange data from complex Java objects.

Qt Notifier

Demonstrates calling Java code from an Android application.

© 2021 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.