Add example of JNI API
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Mon, 23 Sep 2013 13:40:40 +0000 (15:40 +0200)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Mon, 23 Sep 2013 15:06:51 +0000 (17:06 +0200)
commit3fe920463b4c6a43f66a7b7c51d71184703d30ba
tree60a8dc4b4686864c9be75c8221bd8290e83a38bf
parentbe414dfaa02bc15933e35745022126daca373e44
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>
16 files changed:
examples/androidextras/androidextras.pro [new file with mode: 0644]
examples/androidextras/notification/android-sources/AndroidManifest.xml [new file with mode: 0644]
examples/androidextras/notification/android-sources/src/org/qtproject/example/notification/NotificationClient.java [new file with mode: 0644]
examples/androidextras/notification/androidjnibindings.cpp [new file with mode: 0644]
examples/androidextras/notification/androidjnibindings.h [new file with mode: 0644]
examples/androidextras/notification/images/happy.png [new file with mode: 0644]
examples/androidextras/notification/images/sad.png [new file with mode: 0644]
examples/androidextras/notification/main.cpp [new file with mode: 0644]
examples/androidextras/notification/main.qrc [new file with mode: 0644]
examples/androidextras/notification/notification.pro [new file with mode: 0644]
examples/androidextras/notification/notificationclient.cpp [new file with mode: 0644]
examples/androidextras/notification/notificationclient.h [new file with mode: 0644]
examples/androidextras/notification/qml/main.qml [new file with mode: 0644]
examples/examples.pro [new file with mode: 0644]
src/androidextras/doc/images/notification.png [new file with mode: 0644]
src/androidextras/doc/qtandroidextras.qdocconf