3

I have successfully implemented Chrome Custom Tabs for my app and it works fine across my devices.

CustomTabsIntent.Builder builder = new CustomTabsIntent.Builder(); ... customizing it here ... CustomTabActivityHelper.openCustomTab(adapter.main, builder.build(), Uri.parse(url), new WebviewFallback()); 

I now want to simluate and test the failure in case the browser is not supported and it should fall back to my custom WebView as specified in the WebviewFallback class above.

What would be the best way to do that?

1 Answer 1

2

You can just uninstall you Chrome app on your device, or if it is installed as a system app, you just have to disable it (Settings > Applications > Chrome > Tap Disable).

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.