Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.15.0, 5.15.1, 6.2.11, 6.5.5
-
None
-
b9592ebcb (tqtc/lts-5.15), 480940f0a (dev), d0aeeed49 (6.7), 90ef8683d (tqtc/lts-6.5), f1f719352 (tqtc/lts-6.2)
-
2023wk40FOQtforAndroid, 2023wk42FOQtforAndroid, 2023wk46FOQtforAndroid, 2023wk48FOQtforAndroid, 2023wk52FOQtforAndroid, 2024wk04FOQtforAndroid, 2024wk12FOQtforAndroid, 2024wk14FOQtforAndroid, 2024wk16FOQtforAndroid, 2024wk18FOQtforAndroid, 2024wk20s2FOQtforAndroid, 2024wk22s2FOQtforAndroid
Description
Documentation on those two functions is unclean.
QAndroidJniObject QtAndroid::androidService() Returns a handle to this application's main Service
Additional information required - how is "main" Service determined?
QAndroidJniObject QtAndroid::androidContext() Returns a handle to this application's main Context. Depending on the nature of the application the Context object is either the main Service or Activity object.
"Depending on the nature of the application" - more detailed description is needed here: in which cases it should return Activity or Service? Also its unclear what it returns android.content.Context or android.app.Service/android.app.Activity
Attachments
Issue Links
- relates to
-
QTBUG-114656 Document and explain how a Qt Android app handles the Android activity lifecycle
- Closed
- mentioned in
-
Page Loading...