V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
frontman
V2EX  ›  程序员

怎么在微信里打开 app???

  •  
  •   frontman · 2014-08-13 12:38:15 +08:00 · 9922 次点击
    这是一个创建于 3549 天前的主题,其中的信息可能已经有所发展或是发生改变。
    比如在微信里分享了一首歌,然后分享页面上有个在app中打开 ,点击后 打开app 这种效果页面上应该怎么写 怎么判断
    11 条回复    2014-08-13 14:45:47 +08:00
    est
        1
    est  
       2014-08-13 12:47:33 +08:00
    iOS有url scheme,android有intent
    frontman
        2
    frontman  
    OP
       2014-08-13 13:50:12 +08:00
    @est 喔 那网页这边要做哪些操作呢
    xjx0524
        3
    xjx0524  
       2014-08-13 13:54:14 +08:00
    android是用ContentProvider的吧
    frontman
        4
    frontman  
    OP
       2014-08-13 14:05:40 +08:00
    @xjx0524 在微信跟在其他app里面打开都用这个么
    belin520
        5
    belin520  
       2014-08-13 14:12:17 +08:00
    淘宝 for iOS

    宝贝详情 taobao://item.taobao.com/item.htm?id=12688928896
    宝贝搜索 taobao://s.taobao.com/?q=iphone
    frontman
        6
    frontman  
    OP
       2014-08-13 14:28:49 +08:00
    @belin520 <a href=" taobao://item.taobao.com/item.htm?id=12688928896">打开</a> 直接这样么
    zxm99888
        7
    zxm99888  
       2014-08-13 14:30:49 +08:00
    <h2><a id="applink1" href="weixin:">open 微信</a></h2>
    frontman
        8
    frontman  
    OP
       2014-08-13 14:36:59 +08:00
    @zxm99888 我试了下 ios下这个可以在网页中打开微信
    frontman
        9
    frontman  
    OP
       2014-08-13 14:41:17 +08:00
    @zxm99888 但是页面在微信中就打不开了
    hoogle
        10
    hoogle  
       2014-08-13 14:43:25 +08:00
    微信做了限制,不能跳别家App。

    参看: /t/88506
    frontman
        11
    frontman  
    OP
       2014-08-13 14:45:47 +08:00
    @hoogle 哦哦 我想起来了 我上次还问过这个问题
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2205 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 11:50 · PVG 19:50 · LAX 04:50 · JFK 07:50
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.