ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #08819
Re: Handling URL Scheme in content-hub?
This sounds more like URL Dispatcher: https://wiki.ubuntu.com/URLDispatcher
On Tue, Jul 1, 2014 at 1:46 PM, Rex Tsai <rex.tsai@xxxxxxxxxxxxx> wrote:
> Hi,
>
> In current framework, developer is able to use Ubuntu Content API[1]
> to handle certain file types[2]. There are 4 types are supported.
>
> It seems handling url scheme is not in the content-hub roadmap[3].
>
> I wonder is it possible to handle url in content-hub, similar like
> - IntentFilter[4] in Android
> - Invocation framework[5] in BlackBerry
> - Web Activities[6] in FirefoxOS
> - CFBundleURLTypes[7] in iOS
> - Application Controls[8] in tizen
> - UriMapper[9] in Windows Phone
>
> An example user case
>
> A native youtube app registered youtube.com uri.
> When a user click on the link the link from browser or scope or 3rd
> party app,
> the system will launch the youtube app to handle the uri.
>
> Is this possible in current framework? If not, do we have a plan for it?
>
> I'm working on integrating scopes and apps, and would like to have
> url handling function to pass a function or a content from a scope or
> browser to the app.
>
> [1] http://developer.ubuntu.com/api/qml/sdk-1.0/Ubuntu.Content.index/
> [2]
> http://developer.ubuntu.com/api/qml/sdk-1.0/Ubuntu.Content.ContentType/
> [3]
> https://blueprints.launchpad.net/ubuntu/+spec/client-1403-content-hub-roadmap
> [4]
> http://developer.android.com/reference/android/content/IntentFilter.html
> [5]
> http://developer.blackberry.com/native/documentation/cascades/device_platform/invocation/invocation_framework.html
> [6] https://hacks.mozilla.org/2013/01/introducing-web-activities/
> [7]
> https://developer.apple.com/library/mac/DOCUMENTATION/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
> [8]
> https://developer.tizen.org/dev-guide/2.2.1/org.tizen.native.appprogramming/html/guide/app/app_controls.htm
> [9]
> http://msdn.microsoft.com/en-us/library/windowsphone/develop/system.windows.navigation.urimapper%28v=vs.105%29.aspx
> Cheers
> -Rex
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References