aboutsummaryrefslogtreecommitdiffstats
path: root/examples/androidextras/notification/notificationclient.cpp
diff options
context:
space:
mode:
authorChristian Strømme <christian.stromme@digia.com>2013-09-25 12:06:03 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-26 01:02:04 +0200
commit6500083ceb9c9e63eb5ff544e91aa9d556c6739f (patch)
treeb4d78a732f891e63487839b284b7f7fe3a0f12ed /examples/androidextras/notification/notificationclient.cpp
parent2b81ca83860eab49b946d43f851e936c5a6e3092 (diff)
Remove JNI_OnLoad() from the example.v5.2.0-alpha1
We use the class loader to get the files Change-Id: I5268dbda5f17c1dfc7332fec35e6da033090605f Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Diffstat (limited to 'examples/androidextras/notification/notificationclient.cpp')
-rw-r--r--examples/androidextras/notification/notificationclient.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/androidextras/notification/notificationclient.cpp b/examples/androidextras/notification/notificationclient.cpp
index d9cbf84..f48c401 100644
--- a/examples/androidextras/notification/notificationclient.cpp
+++ b/examples/androidextras/notification/notificationclient.cpp
@@ -40,7 +40,6 @@
****************************************************************************/
#include "notificationclient.h"
-#include "androidjnibindings.h"
#include <QtAndroidExtras/QJNIObject>
@@ -67,7 +66,7 @@ QString NotificationClient::notification() const
void NotificationClient::updateAndroidNotification()
{
QJNIObject javaNotification = QJNIObject::fromString(m_notification);
- QJNIObject::callStaticMethod<void>(AndroidJNIBindings::notificationClientClass(),
+ QJNIObject::callStaticMethod<void>("org/qtproject/example/notification/NotificationClient",
"notify",
"(Ljava/lang/String;)V",
javaNotification.object<jstring>());