Android app developers face a choice when they want to display a webpage. They can launch a browser, or build their own in-app browser using WebViews. Both options have challenges, launching the browser is a heavy context switch that isn’t customizable, while WebViews don’t share state with the browser and add maintenance overhead.
Chrome Custom Tabs give apps more control over their web experience, and make transitions between native and web content more seamless without having to resort to a WebView. Chrome cutstom tabs have this smart features.
- Can control toolbar color
- Has enter and exit animations
- Can add custom actions to toolbar and overflow menu
This custom tabs allow developer to pre-fetch content for faster loading.
Why Chrome Tabs are Special?
- Simple implementation
- Customizable UI
- Navigation awareness
- Performance optimization
- Support “Data Savers”
- Synchronized auto complete across devices
- Quickly return to the app with single tap
- Highly customizable
Custom tabs was released recently. It has some issues but this will change the in app browsing very easy for developers. Major drawbacks of this is,
- Developer can’t get the visited urls
- Chrome needs to be installed on the device
You can get more information from these links.
Official Website : https://developers.chrome.com/multidevice/android/customtabs
Stack Overflow : http://stackoverflow.com/questions/tagged/chrome-custom-tabs
Thank You! Happy Blogging.