开发者

Link on a webpage to local application?

I was wondering if I could have a web link to a local application form my webpage.

I'm almost certain that this is not possible, but I'm just wondering.

For example, a music player web application which has a link to buy that song in iTunes, or any other local music application.

Upon the link being clicked, the user's local iTunes application would be launched.

I have seen this done before, but I would imagine that the application needs support for this, alread开发者_高级运维y.

Thanks!


This is generally done by using protocol handlers. For instance, AIM will register with the OS to handle aim:// URLs, and that allows a web page to link to those URLs, and when they're clicked, AIM will open. So you're right in saying that the application has to support it for it to work.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜