mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-05 16:55:25 +08:00
qt 6.6.0 clean
This commit is contained in:
@ -23,6 +23,8 @@ qt_add_executable(androidnotifier
|
||||
main.cpp
|
||||
notificationclient.cpp
|
||||
notificationclient.h
|
||||
android/src/org/qtproject/example/androidnotifier/NotificationClient.java
|
||||
android/AndroidManifest.xml
|
||||
)
|
||||
|
||||
target_link_libraries(androidnotifier PRIVATE
|
||||
|
@ -6,6 +6,7 @@
|
||||
\example platform/androidnotifier
|
||||
\examplecategory {Mobile}
|
||||
\brief Demonstrates calling Java code from Qt in an Android application.
|
||||
\ingroup androidplatform
|
||||
|
||||
\image androidnotifier.png
|
||||
|
||||
@ -48,7 +49,7 @@
|
||||
|
||||
The call to the Java meethod use \l QJniObject which relies on the Java Native
|
||||
Interface (JNI) APIs to communicate with Java. Also, in the previous snippet,
|
||||
we are passing the app's context object which the the static Java code can use
|
||||
we are passing the app's context object, which the static Java code can use
|
||||
to tap into the app's specific properties and APIs.
|
||||
|
||||
To make sure our smiley buttons do what they are supposed to, we add the
|
||||
|
Reference in New Issue
Block a user