Is there any way to make an intent that open a new empty tab in Chrome ?

Is there any way to make an intent that open a new empty tab in Chrome ?

I know it’s possible to open a URL, but I just want to open a new tab, so I can type in my search (with auto suggestions etc..)

Thanks guys

]]>

6 Commentsto Is there any way to make an intent that open a new empty tab in Chrome ?

  1. Anonymous says:

    < ![CDATA[

    Maybe that (not tested) :


    new Intent(Intent.ACTION_VIEW, Uri.parse(“about:blank”))

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Pierre Hébert nice try but unfortunatly it doesn’t work… As I think it’s not recognised as a URL (no protocol http or https specified..)

    ]]>

  3. Anonymous says:

    < ![CDATA[

    That’s what I feared too.

    ]]>

  4. Anonymous says:

    < ![CDATA[

    You may also try to force the component name on this intent, if you know which browser you want to use.

    ]]>

  5. Anonymous says:

    < ![CDATA[

    Pierre Hébert hum how can I do that if I assume the target to be chrome ?

    ]]>

  6. Anonymous says:

    < ![CDATA[

    Using a Chrome shortcut item, call getComponent() on its intent to query the current value, and use it with setComponent() on the new intent.

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *