Details
-
Suggestion
-
Resolution: Fixed
-
P2: Important
-
None
-
5.11.0, 5.15.3
-
-
2023wk02FOQtforAndroid
Description
It would be nice if custom url handlers can be used to launch Qt application on Android.
Following intent filter is added to AndroidManifest.xml
<intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="myapp"/> </intent-filter>
Then the custom url scheme handler is set with QDesktopServices::setUrlHandler(). The custom scheme handler works if it is called inside the application with QDesktopServices::openUrl(), but if you click the custom scheme url externally, the application opens, but the scheme handler is not called. It seems that the custom url is not propagated to the application.
It would be nice if this feature could be implemented. It works on other platforms.
Attachments
Issue Links
- relates to
-
QTBUG-103322 QDesktopServices::openUrl does not work with tree URLs
-
- Closed
-