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

有做过 app 支付宝支付的吗?

  •  
  •   kuyuzhiqi · 2019-05-21 11:58:44 +08:00 · 4818 次点击
    这是一个创建于 1793 天前的主题,其中的信息可能已经有所发展或是发生改变。

    协议头部为 alipay://alipayclient,进行应用间跳转一直报 activity not found to handle,在 manifest 文件加<category android:name="android.intent.category.DEFAULT">也不行,知道怎么弄吗?</category>

    3 条回复    2019-05-22 10:49:51 +08:00
    kuyuzhiqi
        1
    kuyuzhiqi  
    OP
       2019-05-21 12:05:37 +08:00
    不是集成 sdk,而是直接跳转支付宝
    piloots
        2
    piloots  
       2019-05-21 21:37:40 +08:00
    url Schema 不属于官方支付唤醒的操作,你可以使用 webView 控件加载 html 并使用 a 标签的 href 属性包裹住 url Schema 就行了,参考 https://github.com/yioMe/nodejs_wx_aipay_api
    kuyuzhiqi
        3
    kuyuzhiqi  
    OP
       2019-05-22 10:49:51 +08:00
    @yiome404 我这边是 app 跳转,只能用官方的集成 sdk,不能直接跳,已经解决,谢谢
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   4921 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 01:09 · PVG 09:09 · LAX 18:09 · JFK 21:09
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.