kuyuzhiqi
V2EX  ›  Android

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

  •  
  •   kuyuzhiqi · May 21, 2019 · 13908 views
    This topic created in 2724 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
    kuyuzhiqi
    OP
    May 21, 2019
    1
    不是集成 sdk,而是直接跳转支付宝
    piloots
    piloots
    May 21, 2019
    2
    url Schema 不属于官方支付唤醒的操作,你可以使用 webView 控件加载 html 并使用 a 标签的 href 属性包裹住 url Schema 就行了,参考 https://github.com/yioMe/nodejs_wx_aipay_api
    kuyuzhiqi
    kuyuzhiqi
    OP
    May 22, 2019
    3
    @yiome404 我这边是 app 跳转,只能用官方的集成 sdk,不能直接跳,已经解决,谢谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2578 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 15:12 · PVG 23:12 · LAX 07:12 · JFK 10:12
    ♥ Do have faith in what you're doing.