Wednesday, May 8, 2013
With Chrome’s OpenInChromeController class with x-callback, users can open a web page in Chrome and then return to your app with just one tap.
In the example below, a YouTube user has opened a link in Chrome. “YouTube” is prominently displayed in Chrome’s back button. Touching “YouTube” returns the user to the YouTube app.
After you've downloaded the OpenInChromeController class and added it to your project, you’ll be able to check if Chrome is installed, and if so, send links to Chrome with or without x-callback enabled. Additionally, you can specify whether or not to open a new tab when sending a link to Chrome. For a deeper dive and to download the code, check out our developer docs.
Posted by Michele Aiello, Software Engineer and Callback Captain
Posted at 5/08/2013 05:05:00 AM