就是一个下载链接, 比如已经安装 了迅雷, 他会至用迅雷打开下载,
如果没安卓迅雷, 会提示, 先安装迅雷,
这种功能不知道实现原理是如何的
如果没安卓迅雷, 会提示, 先安装迅雷,
这种功能不知道实现原理是如何的
|
1
问题补充, 如果是 安卓下 又如何实现。。
|
|
RicepigNov 1, 2013 via iPhone
2
浏览器插件吧
|
|
ineeNov 1, 2013
4
自己写的端口协议
|
|
qingtingNov 1, 2013
6
Google 了一下 http://liuhaixiao.iteye.com/blog/738474
|
|
kskyNov 1, 2013
7
开发的时候可以配置一个短链接,比如weixin://,然后你在浏览器里输入weixin://就可以调出微信了。
开发App的时候定义的。 |
|
yanggNov 1, 2013
10
html5有这个:
navigator.registerProtocolHandler(protocol, uri, title); Note for Chrome: Protocol whitelist includes mailto, mms, nntp, rtsp, and webcal. Custom protocols must be prefixed with "web+". 其它这是我以前看的相关链接 http://hi.baidu.com/weforhappy/blog/item/43afabc5c0aa23a48326acd1.html http://msdn.microsoft.com/en-us/library/aa767914(v=vs.85).aspx http://hublog.hubmed.org/archives/001154.html http://updates.html5rocks.com/2011/06/Registering-a-custom-protocol-handler http://stackoverflow.com/questions/411544/custom-protocol-in-linux |
|
keniusahduNov 1, 2013
12
@hpze2000 Android用Intent。Intent intent= new Intent();
intent.setAction("android.intent.action.VIEW"); |
|
keniusahduNov 1, 2013
13
@hpze2000 Intent intent= new Intent();
intent.setAction("android.intent.action.VIEW"); intent.setClassName("com.android.browser","启动你的包+Activity"); startActivity(intent); 大概是这样。好久不写。记不太清。参考下吧 |
|
darasionNov 1, 2013
14
就是给浏览器注册一个协议处理程序。
|