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 launch a Desktop site from my app?

I'm uploading a URL to CustomTabs. I want to enable pinch zoom in CustomTabs. By default it does not enable zoom pinch, but if you go to the menu and tapDesktop Site, enable pinch zoom. I want to know that if there is a way to open Desktop site by…
dev90
  • 7,187
  • 15
  • 80
  • 153
0
votes
1 answer

Alternatives to webview?

I have came across many such post which talks about Crosswalk and Chrome Custom tabs but each of them have problems My Requirements: I need to redirect my users to external web applications like flipkart.com, myntra.com etc and monitor the URLs…
Kumar Gaurav
  • 1,287
  • 3
  • 19
  • 47
0
votes
1 answer

onPageFinished equivalant in custom chrome tab to get url

I am implementing Custom chrome tab in one of my app . I have initiated Custom chrome tab intent with startActivityforResult. When user back press from action bar or bottom menu activity's onActivityResult gets called but intent is null. I want…
SimpleCoder
  • 1,665
  • 1
  • 21
  • 34
0
votes
0 answers

I am not able to Scroll in appium

I have tried multiple options to scroll through the page of custom chrome tab application built as an android app for a tablet, I am still not able to. Touch action code from appium desktop does not run in eclipse IDE. and UiScrollable is not able…
0
votes
0 answers

How to set Chromium custom tab default = disable

I am using Chromium 63 code. When I click a link, it will open Chromium custom tab. I need to open the link in Chromium browser instead of in Chromium custom tab. How to change the Chromium code (not change chrome://flags) for it?
selina liu
  • 21
  • 2
0
votes
1 answer

open link with chrome custom link

i have implemented a Custom URL Span to open link with the chrome custom tab instead of default browser. The on click method of it is started, but I dont know how to launch the chrome custom launcher. it looks this way: public class…
0
votes
1 answer

How to put ads in Chrome custom tambs

using android Webview i'm able to size the height of a web page in my android app so i can put and ad below the webview and it works well but now i want to use Chrome custom tabs and they always use all the screen so i cannot put an add below it,…
Saul_programa
  • 341
  • 1
  • 4
  • 13
0
votes
1 answer

Opening a url in ChromeCustomTab fetched from firebase recycler view

I am trying to open links from my firebase recyclerview using ChromeCustom Tab because I learn it will improve load time. It works perfectly if I open using webview but I get App stopped when I tried to use it on ChromeCustomTab public class VatFees…
Joseph .A.
  • 75
  • 1
  • 9
0
votes
1 answer

I have implemented gridview in my android but i am unable to open chrome custom tabs with on itemclick in grid view with webview fallback

My Main Activity.java which contains gridview methods and from where we can handle to open chrome custom tabs with on item click but i am unable to do this so please kindly help me in this situation public class MainActivity extends…
Agam Jain
  • 17
  • 4
0
votes
1 answer

Chrome Custom Tabs returning to wrong Intent

In my recent programmed Android App, I discovered a problem regarding Chrome Custom Tabs. I'm using Custom Tabs to open sites of different Social Media Platforms like Twitter, Twitch, YouTube, Instagram, Snapchat and Facebook. I'm going to give you…
0
votes
2 answers

How to catch errors when using Chrome customTabs

I am trying to open a PDF file with Chrome customTab. However, I know that the PDF becomes available only during certain time periods and returns a 404 error at other times. So I started looking for some way to handle this 404 error being returned…
Prejith P
  • 195
  • 3
  • 12
0
votes
0 answers

Injecting data into a view in chrome custom tab and reading some data in custom tab from app

Can I inject some text in chrome custom tab, other than title bar? Say in signup page, can I fill data by injecting data from the app? Also, can I read data present in custom tab from my app?
Shubham Gupta
  • 43
  • 1
  • 7
0
votes
1 answer

Android chrome custom tabs with auto fill information

I want to create application which capable to auofill information using Chrome custom tabs. In chrome custom tabs, can I modify view for Autofill information? Please give me advice for same.
user4570857
0
votes
1 answer

Disable swipe to refresh in chrome CustomTab

I'm using chrome CustomTab to open a url inside my app, using customTabsIntent.launchUrl method and CustomTabsIntent.Builder. Here's how I'm doing it right now: CustomTabsIntent.Builder builder = new CustomTabsIntent.Builder(); CustomTabsIntent…
Ashish Ranjan
  • 5,523
  • 2
  • 18
  • 39
0
votes
1 answer

Chrome Customs Tabs

I am using the chrome custom tabs in my news app. i want the custom enter and exit animations, but when I use the code : builder.setStartAnimations(this, R.anim.slide_in_right, R.anim.slide_out_left); builder.setExitAnimations(this,…
mani
  • 27
  • 8