Reputation: 359
I am new to android and working on small project where i am using
customerSupport.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(config.tawkto));
startActivity(browserIntent);
}
});
to open my public static final String tawkto = "https://tawk.to/chat/xxxxxxxxxxxxxxxxxxxxxxxx/default";
So how can I make sure my config.tawkto will open in my own app, not in another browser.
Thanks in Advance.
Upvotes: 0
Views: 308
Reputation: 2933
For that you have to use WebView, Follow this steps,
WebView
in that activitycustomerSupport
button.Upvotes: 1