Questions tagged [chrome-custom-tabs]

Chrome Custom Tabs provides a way for an application to customize and interact with a Chrome Activity on Android, to make it a part of the application experience, while retaining the full functionality and performance of a complete web browser.

Documentation: https://developers.google.com/web/android/custom-tabs

GitHub Demos: https://github.com/GoogleChrome/android-browser-helper/tree/master/demos

396 questions
0
votes
1 answer

Chrome custom tabs classes not found in code

Today was the first time I was trying to setup chrome tabs in an Android project. I included the required compile: compile 'com.android.support:customtabs:23.0.1' No gradle errors / build errors afterwards but in code the…
Jordy
  • 1,764
  • 1
  • 22
  • 32
0
votes
1 answer

Custom menu to bookmark current url with Chrome custom tabs

I'm trying out the new Chrome custom tabs and want to add a custom menu item to bookmark the displayed page url. I create a new pending intent to launch the bookmark activity but I cannot find a way to pass the current page url to the bookmark…
Magnus G
  • 111
  • 4
0
votes
3 answers

EXTRA Parameters for Google Chrome Custom Tabs mayLaunchUrl

Google recently announced Google Chrome Custom Tabs, a way to use Google chrome power to open webpages instead of using webviews. Is there a list of all the possible KEYS for the Extra bundle used in mayLaunchUrl ?
Andrea Baccega
  • 27,211
  • 13
  • 45
  • 46
-1
votes
1 answer

chrome-custom-tabs prompt window behavior and remote debugging

I would like to see if anyone know how chrome-custom-tabs handle prompt window for android permission. Let's take location as an example, if we listed it in manifest, then in webview case, i got a chance to handle if i want to prompt the window for…
bj4947
  • 880
  • 11
  • 32
-2
votes
2 answers

ChromeCustomTabs - handle Intent Error in Activity

I'm currently developing an musicplayer app in which i want to link the artists websites with chrome custom tabs (Chrome is installed on my phone). Most of the links work fine and open like they should but when i want to open the website from…
Distra
  • 2,260
  • 2
  • 14
  • 23
-2
votes
3 answers

Wrong 1st argument type. Found: android.webkit.WebViewClient, required: android.app.Activity

When I tried to implement Chrome Custom Tabs using shouldOverrideUrlLoading() in webViewClient() I am getting the following error: Wrong 1st argument type. Found: 'android.webkit.WebViewClient', required: 'android.app.Activity' Here is my code - I…
Prashanth
  • 1,309
  • 2
  • 9
  • 17
1 2 3
26
27