iugo
V2EX  ›  Android

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

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