kuyuzhiqi
V2EX  ›  Android

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

  •  
  •   kuyuzhiqi · May 21, 2019 · 13212 views
    This topic created in 2583 days ago, the information mentioned may be changed or developed.

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

    3 replies    2019-05-22 10:49:51 +08:00
    kuyuzhiqi
        1
    kuyuzhiqi  
    OP
       May 21, 2019
    不是集成 sdk,而是直接跳转支付宝
    piloots
        2
    piloots  
       May 21, 2019
    url Schema 不属于官方支付唤醒的操作,你可以使用 webView 控件加载 html 并使用 a 标签的 href 属性包裹住 url Schema 就行了,参考 https://github.com/yioMe/nodejs_wx_aipay_api
    kuyuzhiqi
        3
    kuyuzhiqi  
    OP
       May 22, 2019
    @yiome404 我这边是 app 跳转,只能用官方的集成 sdk,不能直接跳,已经解决,谢谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5686 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 01:57 · PVG 09:57 · LAX 18:57 · JFK 21:57
    ♥ Do have faith in what you're doing.