-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Description
mAgentWeb = AgentWeb.with(this)
.setAgentWebParent(mLinearLayout, new LinearLayout.LayoutParams(-1, -1))
.useDefaultIndicator()
// .setMainFrameErrorView(com.just.agentweb.R.layout.agentweb_error_page, -1)
.setOpenOtherPageWays(DefaultWebClient.OpenOtherPageWays.ASK)//打开其他应用时,弹窗咨询用户是否前往其他应用
.createAgentWeb()
.ready()
.go(getUrl());
public String getUrl() {
return "http://www.jd.com";
}
不知道是要配置什么其他的地方才能跳转第三方APP吗?
implementation 'io.github.justson:agentweb-core:v5.1.1-androidx'
implementation 'io.github.justson:agentweb-filechooser:v5.1.1-androidx'
这是导入的依赖
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels