aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/androidextras/android/qandroidfunctions.cpp7
-rw-r--r--src/androidextras/doc/QtAndroidExtras/jni.h3
2 files changed, 5 insertions, 5 deletions
diff --git a/src/androidextras/android/qandroidfunctions.cpp b/src/androidextras/android/qandroidfunctions.cpp
index 1d1aa44..8d049fc 100644
--- a/src/androidextras/android/qandroidfunctions.cpp
+++ b/src/androidextras/android/qandroidfunctions.cpp
@@ -205,11 +205,8 @@ void QtAndroid::startActivity(const QAndroidIntent &intent,
/*!
\since 5.13
- Starts the activity given by \a intent using \c startActivityForResult() and provides the result by calling callbackFunc.
-
- The \a receiverRequestCode is a request code unique to the \a resultReceiver, and will be
- returned along with the result, making it possible to use the same receiver for more than
- one intent.
+ Starts the activity given by \a intent, using the request code \a receiverRequestCode,
+ and provides the result by calling \a callbackFunc.
*/
void QtAndroid::startActivity(const QAndroidJniObject &intent,
int receiverRequestCode,
diff --git a/src/androidextras/doc/QtAndroidExtras/jni.h b/src/androidextras/doc/QtAndroidExtras/jni.h
index 01dbf0e..9013345 100644
--- a/src/androidextras/doc/QtAndroidExtras/jni.h
+++ b/src/androidextras/doc/QtAndroidExtras/jni.h
@@ -43,7 +43,10 @@
#define JNI_H
struct JNIEnv_;
+struct JavaVM_;
typedef JNIEnv_ JNIEnv;
+typedef JavaVM_ JavaVM;
typedef int jclass;
+typedef char jobject;
#endif