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
0 answers

Handling second tab that opens on some operations in first tab in google chrome in java selenium

I have test case to automate in which it will open the gmail and find a received mail using subject and in the body of the mail i have to submit comment in which it will take to the second tab in same window. And i have click on one button in the…
0
votes
1 answer

Launching A Chrome Custom Tab from a RecyclerView Adapter

I intend to launch a Chrome Custom Tab from the RecyclerView like this - public CustomAdapter(Context context, List ListOfArtifacts) { this.context = context; this.ListOfArtifacts = ListOfArtifacts; } @Override public void…
CodeWalker
  • 2,281
  • 4
  • 23
  • 50
0
votes
0 answers

How to set fallback of Chrome Custom tab to WebView?

I want to set Webview as fallback of chrome custom tab. If user don't have chrome installed on their mobile I want Webview to open url in the app. public class Main3Activity extends AppCompatActivity { static final String SITE_URL =…
0
votes
1 answer

Where can I find Chrome Custom Tabs .jar library?

Hello, everyone! I would like to ask, where could I find Chrome Custom Tabs .jar library? Thank you.
moliata
  • 28
  • 2
  • 9
0
votes
1 answer

Get the OAuth of my device to my Chrome Custom Intent

I am trying to access a google page from my app that requires sign in. I use Chrome Custom Tabs to do this. Since this is an android device the user has already signed in via a gmail account, so my question is how can I make the Custom Intent to log…
Tyson
  • 747
  • 2
  • 6
  • 18
0
votes
2 answers

Bluemix AppID Authentication

I am using Bluemix App ID. I am facing Problem with authentication Problem. It works fine when my device have chrome browser. Device without chrome browser cause Authorization Failure. Exception message is: Could NOT find installed browser that…
0
votes
1 answer

Block Url in Crome Custom Tabs android

I am able to detect which URL is being loaded in Chrome Custom Tab with help of accessibility service, and now i want to find id of back button so that i can close the tab if the url is in the block list, following is the code for click…
0
votes
1 answer

How to open all links in chrome custom tabs

I'm trying to make an activity which has a few TextViews which in turn,contain hyperlinks. I did this using this tutorial: http://www.android-examples.com/add-hyperlink-in-android-application-through-textview/ I want to make these links open up in…
0
votes
1 answer

Chrome Custom tabs killing my activity

I am using Chrome Custom tabs to display a webview : all works well. If the user click the "close" button, the activity which launched the tab is not revived and the user see nothing but the "main screen" of my Android. The launching intent is…
Jonathan ANTOINE
  • 9,021
  • 1
  • 23
  • 33
0
votes
1 answer

Auto Close Chrome Custom Tabs

We are using Chrome Custom Tabs for payment re-directions and we have found that there is no such methods for auto close when payment gateway re-directs us to the app. Please suggest what need to do, I am totally stuck at the end of payment…
0
votes
1 answer

Launching chrome custom tabs killing closes in background

Following is my code to launch chrome custom tab from android. try { CustomTabsIntent.Builder builder = new CustomTabsIntent.Builder(); builder.setToolbarColor(ContextCompat.getColor(context, R.color.appthemecolor)); …
0
votes
0 answers

Chrome custom tabs deep link not working in jelly bean devices

Following is my code for opening web url in app using chrome custom tabs CustomTabsIntent.Builder builder = new CustomTabsIntent.Builder(); builder.setToolbarColor(ContextCompat.getColor(context, R.color.appthemecolor)); CustomTabsIntent…
0
votes
0 answers

Chrome Custom Tabs - Load text/String

I would like to open a Chrome Custom Tab, not to launch a URL, but to display the contents of a String. Is this possible?
Eurig Jones
  • 8,226
  • 7
  • 52
  • 74
0
votes
1 answer

Make app open chrome by default

I have an app that open a link in a chrome custom tab. But when the user runs it for the first time(and he has multiple browsers installed), it gives the user a popup asking him to choose the default application (i.e do you wanna set UCBrowser as…
0
votes
1 answer

Send Chrome custom tab to background

I invoke a Chrome custom tab from my activity, and i want to be able to go back to my app after a certain page is opened on my custom tab without having the user click on the "X" button. To do that, i added an intent filter on my activity (the same…