aboutsummaryrefslogtreecommitdiffstats
path: root/src/androidextras/android/qandroidactivitycallbackresultreceiver_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove QtAndroidExtras module and add note about its state in Qt 6HEADdevAssam Boudjelthia2021-06-291-72/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | The JNI utilities (i.e. QJniObject, QJniEnvironment) are already under qtbase as public APIs. Permission handling is now under QCoreApplication::{check,request}Permission and QPermission namespace. Some of the QtAndroid namespace functions are now under QNativeInterface's QAndroidApplication, this includes: * sdkVersion() * hideSplashScreen() * context() and isActivityContext() * runOnAndroidMainThread() The remaining APIs are now moved as private APIs under qtbase ee05af296f65e240f64db6470cdddafbddbf2fa3. That is until we add new cross-platform APIs to replace their functionalities like Intents handling, starting activites and working with Services. Task-number: QTBUG-83251 Task-number: QTBUG-84382 Pick-to: 6.2 Change-Id: Id077f8cbbe223a987916f737fad6088fb58e470d Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
* Overload QtAndroid::startActivity with a callbackNicolas Fella2019-01-291-0/+72
The current way of handling activity results by inheriting from QAndroidActivityResultReceiver is very un-Qt. This patch allows handling activity results by passing a std::function/lambda expression to the startActivity function. Change-Id: Ie9dc91cd02dfcdb16a9ad0cb7858387e75159815 Reviewed-by: BogDan Vatra <bogdan@kdab.com>