iugo
V2EX  ›  Android

[Android] 当从 App 中引用 WebView, 能从网页的链接再调回本 App 中的 NativeView 吗?

  •  
  •   iugo · Apr 26, 2015 · 12647 views
    This topic created in 4110 days ago, the information mentioned may be changed or developed.
    3 replies    2015-04-30 10:17:07 +08:00
    WildCat
        1
    WildCat  
       Apr 26, 2015 via iPhone   ❤️ 1
    iugo
        2
    iugo  
    OP
       Apr 26, 2015
    @WildCat 抱歉, 没有做过 Android 开发, 不知道怎样用语言描述.
    iugo
        3
    iugo  
    OP
       Apr 30, 2015
    目前总结方法有二:
    1. scheme, 自定义协议
    例子: 淘宝, 通过 taobao://shop76543 访问某一家店铺.
    2. html 页面解析
    例子: 美团, 在活动页面中有 http://m.mt.com/shop76543.html 访问某一家店铺.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5758 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 1124ms · UTC 02:57 · PVG 10:57 · LAX 19:57 · JFK 22:57
    ♥ Do have faith in what you're doing.