[Merge] lp:~ken-vandine/content-hub/url-dispatcher into lp:content-hub
Ken VanDine
ken.vandine at canonical.com
Thu May 14 19:38:42 UTC 2015
The proposal to merge lp:~ken-vandine/content-hub/url-dispatcher into lp:content-hub has been updated.
Description changed to:
Added url-dispatcher integration. This allows export and share requests to be initiated by opening a url. For example, to create a share request to facebook you could open a url like:
"content:?pkg=com.ubuntu.developer.webapps.webapp-facebook&app=webapp-facebook&handler=share&url=file:///home/phablet/Pictures/coo_man_coo.jpg"
Parameters:
* pkg - click package name (required)
* app - click app name, ubuntu-app-launch will attempt to guess if not provided
* ver - version of the click package, defaults to "current-user-version"
* handler - export or share, defaults to defaults to "export"
A simple way to test this would be to run this from a shell:
url-dispatcher "content:?pkg=messaging-app&handler=share&url=http://www.ubuntu.com"
This will open the messaging-app and insert the link
For more details, see:
https://code.launchpad.net/~ken-vandine/content-hub/url-dispatcher/+merge/259039
--
Your team Ubuntu Phablet Team is requested to review the proposed merge of lp:~ken-vandine/content-hub/url-dispatcher into lp:content-hub.
More information about the Ubuntu-reviews
mailing list