Hide / Disable default menu in Chrome Custom Tab

I have implemented new Chrome Custom Tab in android, I am using the following code to open

    String url = "http://www.flipkart.com/";
    int color = Color.BLUE;
    CustomTabsIntent.Builder intentBuilder = new CustomTabsIntent.Builder();
    intentBuilder.setToolbarColor(color);
    intentBuilder.setShowTitle(true); 
    CustomTabActivityHelper.openCustomTab(
            this, intentBuilder.build(), Uri.parse(url), new  WebviewFallback());

I need to secure my URL or not like to show my URL to User, But there is a option Open in Chrome in default menu, By using this link user can open my URL in browser,By how hide the default menu?

Answers


At this moment, it's not possible to hide the overflow menu or "Open in Chrome" menu item.


There are no methods for hiding the menu option in Chrome custom tabs


Chrome Custom Tab actually uses Chrome app in user's mobile.

start activity in Chrome app by link, If chrome not installed on the user's mobile, it will use a webView as the default.

In fact, Chrome Custom Tabs is designed to display a web page where the user is sure that the programmer of that software does not have a phishing, Like a bank payment.

Therefore, you must show the options in the toolbar to the user.


You must add hiding flag before. To disable your URL parameter but it can't hide your site name.

intentBuilder.enableUrlBarHiding();


Need Your Help

Disabling only the controls on the page using asp.net gridview control

jquery asp.net

My dropdownlist is inside the gridview asp.net control and i am disabling the dropdownlist by doing this:

Adding a JavaScript file

javascript drupal drupal-6 drupal-templates

I'm trying to insert reference to the Javascript file in the header by using drupal_add_js(). I placed this line inside the template preprocess function in template.php. The result that the code is...