Skip to content

webview 交互接口定义 #37

@SimplyY

Description

@SimplyY

美景页面

webview 加载的 url

ip 地址 + 端口 + /scene + /?sceneId=xxx&openId=xxx

example

http://121.40.224.83:8080/scene/?sceneId=562e38087d0490405a114709&openId=B74D7DEF74844D0B33872E1E66393C42

js 调用 java 函数

  1. android.back()(退出当前美景页面 activity)
  2. android.webToast(string toast)
  3. android.enterComment()(进入当前美景的评论页面)
  4. android.enterMap() (进入地图 webview 的 activity)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions