Develop UI allowing user to choose what app handles a URL scheme (Feature #1163)


Added by Doug Reeder about 1 year ago. Updated about 1 year ago.


Status:New Start date:06/24/2016
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-

Description

Eventually, we will have more than one app registering for the same URL scheme. For example, Messaging will probably register for the xmpp: scheme once we have libpurple configured to support XMPP. A dedicated Jabber client would also register for the xmpp: scheme. Mapping apps will presumably all register for the geo: URL scheme.

We need UI for the user to pick which app is launched for a given scheme, when there is more than one registered app. Under webOS, this in the Preferences app, under the Default Applications menu item.

We also need UI that pops up when a second or n-th app registers for a scheme - the user must be asked which app to use.


deviceinfo_2016-27-06_154245.png (36.5 kB) Herman van Hazendonk, 06/27/2016 01:40 pm

deviceinfo_2016-27-06_153944.png (53.7 kB) Herman van Hazendonk, 06/27/2016 01:40 pm

deviceinfo_2016-27-06_153934.png (77.2 kB) Herman van Hazendonk, 06/27/2016 01:40 pm


History

Updated by Herman van Hazendonk about 1 year ago

Added some screenshots.

LS2 calls used are:
//Query the service again to get the modified active handlers for the mime.
palm://com.palm.applicationManager/listAllHandlersForMime '{"mime": this.selectedMimeType.mime}'
palm://com.palm.applicationManager/listAllHandlersForMultipleUrlPattern '{"urls": this.urlPatterns}'
palm://com.palm.applicationManager/swapRedirectHandler '{"url": url, "index":index}'
palm://com.palm.applicationManager/listExtensionMap '{}'
palm://com.palm.applicationManager/listAllHandlersForMultipleMime '{"mimes": this.mimeTypes}'

Also available in: Atom PDF