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

How to pre-fetch html/css of multiple URLs in Chrome Custom Tabs in Android

I am working on an Application which requires Chrome Custom Tabs, So far i am able to Pre-fetch HTML/CSS of a Single Url, by creating a CustomTabSession and with the help of mayLaunchUrl customTabsSession.mayLaunchUrl(Uri.parse(url), null,…
Doomers
  • 11
  • 2
0
votes
1 answer

Change extra text data in custom tabs action bar button at runtime

i am using chrome custom tabs for displaying various websites.i have added a share link button in custom tabs action bar. builder.setActionButton(bitmap,shareLabel,createPendingShareIntent()); and my pendingintent function private…
Shubham Shukla
  • 988
  • 2
  • 13
  • 28
0
votes
1 answer

Fitbit API Integration using oAuth 2.0 with chrome custom tabs in android

I am building an Android app which integrates Fitbit to get user's data. For integrating FitBit, I'm using Custom Chrome Tabs. When passing uri it redirects upto access page, But when I click on 'Allow', it displays error and not redirecting to the…
Nikita Shah
  • 156
  • 10
0
votes
1 answer

I want to Close Chrome Custom Tab when ACTION button is clicked

I am trying to integrate Chrome Custom Tabs in my Android App. Here is the requirement where I am stuck: 1. List of pdfs being shown in GridView. The user when clicks on any pdf will be opened on custom tabs. Here I will pass the position of item in…
reactivedroid
  • 752
  • 1
  • 7
  • 14
0
votes
1 answer

Callback from chrome custom tabs

I am implementing Fit-bit rest-client authorisation in my android application. I use custom tabs for opening fitbit authorization URL like…
abdul khan
  • 843
  • 2
  • 7
  • 24
0
votes
1 answer

Lifecycle management

I'm using chrome custom tabs through this SDK. I'm integrating an openid connect solution which on some custom scope requires the user to receive an SMS one time password, and then input it in the next screen. All works great EXCEPt if the user…
cromestant
  • 652
  • 2
  • 10
  • 21
0
votes
1 answer

Recycled View with Custom Chrome Tab

I am trying to open a URL using custom chrome tabs when I click on the card in the RecyclerView. But the customTabsIntent.launchUrl() wants the first argument to be an Activity. How do I implement this? Here is my code: My ArticleViewAdapter.java …
0
votes
3 answers

How to switch between chrome custom tab and webview in android?

I have implemented both chrome custom tab and webview for a website in android studio. They are both working fine. Now what I want is that if the user doesn't have chrome installed or has a chrome version less than 45 (minimum version needed for…
Yash Sharan
  • 51
  • 2
  • 7
0
votes
1 answer

Chrome Custom Tabs pre-load webpages while browsing?

I'm testing the Chrome Custom Tabs. It is supposed to preload webpages a user is likely to click in the background. This happens through calling session.mayLaunchUrl(uri, null, null); While the MainActivity is active, the webpage is preloaded…
Chris
  • 4,238
  • 4
  • 28
  • 49
0
votes
1 answer

Android: chrome custom tab on eclipse?

How can i add chrome custom tab to android project on eclipse here is a document descries add it to android studio but i have no time to switch to android studio is their any way to import it.
Mohamed Slama
  • 189
  • 1
  • 3
  • 17
0
votes
1 answer

setActionButton accepts just first pendingIntent

When building CustomTabsIntent using builder and setting setActionButton: new CustomTabsIntent.Builder(getSession()) .setActionButton(getShareIcon(), "Share text", …
0
votes
1 answer

Close button style in Chrome custom tabs

I'm trying to change the back button icon in chrome custom tabs from the standard 'x' to a back arrow, '<'. I know I can use the setCloseButtonIcon(Bitmap icon) method while I'm building the intent to set a custom bitmap for the button. But checking…
Bandreid
  • 2,727
  • 28
  • 47
0
votes
1 answer

How many mayLaunchUrl we can run at a time?

I am trying to utilize ChromeCustomTabs into our project. I ran into several issue when I used mayLaunchUrl. I checked the code Google has on the github. I simply set up an button to test the mayLaunchURL (prerender feature), when I looked up the…
bj4947
  • 880
  • 11
  • 32
0
votes
1 answer

What will happen if i have chrome custom tab in my app but user has chrome version less than 45?

What will happen in a case where my app implements custom chrome tabs but user has chrome version < 45??? And how to ensure that compatibility is maintained for everyone?
user5462975
0
votes
1 answer

How to get navigation callbacks in customtabs

How to set the void onNavigationEvent(int navigationEvent, Bundle extras) for customtabs. My code looks something like CustomTabsIntent.Builder intentBuilder = new CustomTabsIntent.Builder(); …
iZBasit
  • 1,314
  • 1
  • 15
  • 30
1 2 3
26
27