Qt Android Extras 范例

These are the examples available in the Qt Android Extras 模块。

注意: 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.