diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> | 2013-09-23 15:40:40 +0200 |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> | 2013-09-23 17:06:51 +0200 |
commit | 3fe920463b4c6a43f66a7b7c51d71184703d30ba (patch) | |
tree | 60a8dc4b4686864c9be75c8221bd8290e83a38bf /examples/androidextras/notification/notification.pro | |
parent | be414dfaa02bc15933e35745022126daca373e44 (diff) |
Add example of JNI API
This example adds a custom class to the project and calls into
it with JNI to set a notification message in the status area.
Change-Id: I74d7a87c0511b98608422788c1c282e9af57c074
Reviewed-by: Christian Stromme <christian.stromme@digia.com>
Diffstat (limited to 'examples/androidextras/notification/notification.pro')
-rw-r--r-- | examples/androidextras/notification/notification.pro | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/androidextras/notification/notification.pro b/examples/androidextras/notification/notification.pro new file mode 100644 index 0000000..9d57ca3 --- /dev/null +++ b/examples/androidextras/notification/notification.pro @@ -0,0 +1,24 @@ +QT += quick androidextras + +ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android-sources +ANDROID_PACKAGE = org.qtproject.example.notification +ANDROID_MINIMUM_VERSION = 16 +ANDROID_TARGET_VERSION = 16 +ANDROID_APP_NAME = Qt Notifier + +SOURCES += \ + main.cpp \ + notificationclient.cpp \ + androidjnibindings.cpp + +OTHER_FILES += \ + qml/main.qml \ + android-sources/src/org/qtproject/example/notification/NotificationClient.java \ + android-sources/AndroidManifest.xml + +RESOURCES += \ + main.qrc + +HEADERS += \ + notificationclient.h \ + androidjnibindings.h |