【发布时间】:2020-08-16 21:59:40
【问题描述】:
我是 android 新手,正在做我正在使用的小项目
customerSupport.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(config.tawkto));
startActivity(browserIntent);
}
});
打开我的public static final String tawkto = "https://tawk.to/chat/xxxxxxxxxxxxxxxxxxxxxxxx/default";
那么我怎样才能确保我的 config.tawkto 将在我自己的应用程序中打开,而不是在其他浏览器中。
提前致谢。
【问题讨论】:
标签: javascript java android android-studio android-layout