Global Moderators
Forum wide moderators
Posts
-
RE: How to add a new kind of account into Accounts?
Ah, no. Maybe it is mooooore complicated and ¿unsuported?
From old documentation:
https://wiki.ubuntu.com/SecurityTeam/Specifications/OnlineAccountsConfinementhttps://phone.docs.ubuntu.com/en/platform/guides/online-accounts-developer-guide
And it requires an apparmor template?
-
RE: App: Where?
New version of Where?
- Better detect weird gmaps links (again)
- Add paste button in TextField
- Don't disable paste button (TextField-canPaste is false when app launches)
- Remove buttons from ListItems, copy on tap
- Enable lat and long when there's a value
- Update Catalan translation
- Fix link not enabled on Original URI
- Added Long URI, and its shortcode
-
RE: How to add a new kind of account into Accounts?
I think I didn't explain myself correctly XD
I was thinking in adding a newserviceProvider that is not in the system.Maybe here:
https://gitlab.com/ubports/development/core/lomiri-online-accounts/-/tree/main/example++s -
RE: How to force a link to open with a selected app?
Ah, no. I don't think it's possible to pass an url + the appid link. The idea is to open the app...
-
RE: How to force a link to open with a selected app?
To investigate:
https://gitlab.com/ubports/development/core/lomiri-url-dispatcher/-/blob/main/tests/dispatcher-test.cc^__^
-
RE: How to force a link to open with a selected app?
Oh!
Might be this?application:///morph-browser.desktop -
RE: How to force a link to open with a selected app?
@kugiigi I'm pretty sure it only works for clicks as it takes appID
For the messaging app... I think you can use 'message://'

You can see the hooks for the url-dispatcher in the system.$ lomiri-url-dispatcher-dump video,"",/usr/share/lomiri-url-dispatcher/urls/mediaplayer-app.url-dispatcher audio,"",/usr/share/lomiri-url-dispatcher/urls/mediaplayer-app.url-dispatcher syncmonitorhelper,"",/usr/share/lomiri-url-dispatcher/urls/syncmonitorhelper.url-dispatcher evernote,"",/home/phablet/.cache/lomiri-url-dispatcher/urls/notes.ubports_reminders_1.0.1.url-dispatcher tel,"",/usr/share/lomiri-url-dispatcher/urls/dialer-app.url-dispatcher dialer,"",/usr/share/lomiri-url-dispatcher/urls/dialer-app.url-dispatcher addressbook,"",/usr/share/lomiri-url-dispatcher/urls/address-book-app.url-dispatcher message,"",/usr/share/lomiri-url-dispatcher/urls/messaging-app.url-dispatcher sms,"",/usr/share/lomiri-url-dispatcher/urls/messaging-app.url-dispatcher http,"",/usr/share/lomiri-url-dispatcher/urls/morph-browser.url-dispatcher https,"",/usr/share/lomiri-url-dispatcher/urls/morph-browser.url-dispatcher ...I think the apps should receive an url if it's indicated in the desktop file:
Exec=morph-browser %u
%u should be 1 link, %U a list of them -
How to force a link to open with a selected app?
The issue:
- I've set up some links to open by App1
- Inside App1, I show a link
- This link, when tapped, is opened by App1
How do I force the link to be opened with Morph?
I've seen this, but I couldn't make it work as
Qt.openUrlExternally("appid://morph-broswer.ubports/morph-broswer/current-user-version" link)Is the ContentHub required?