Launching URL in non-default browser

1,985 views
Skip to first unread message

Matt R

unread,
Jan 6, 2013, 4:43:48 PM1/6/13
to tas...@googlegroups.com
With an intent, I believe. Something along the lines of the browse url intent, with the component specified of the Internet browser app.

Matt

bdanders

unread,
Jan 15, 2013, 3:48:33 PM1/15/13
to tas...@googlegroups.com
Have you figured this out? I'd like to get this working as well. My goal is to be able to easily share a URL from Chrome to the Android browser using AutoShare and Tasker as a middle-man. So far I can't figure out an intent that will launch a url with a target browser.

On Sunday, January 6, 2013 8:04:59 AM UTC-5, Adam Graham wrote:
Chrome is my default browser and I'd like to keep it that way.
I want to create a task shortcut/widget on my homescreen that launches the Internet Browser instead with a specific URL.

I have got as far as an icon that launches the browser, but how do I pass it a URL?

Adam

bdanders

unread,
Jan 15, 2013, 4:15:41 PM1/15/13
to tas...@googlegroups.com
Never mind, I got it working. For anyone that would like to know, I was able to launch a URL in the stock browser with the following intent:

Action: android.intent.action.VIEW
Cat: None
Mime blank
Data: %url
Extra blank
Package: com.android.browser
Class blank
Target: Activity

This works for the browser that comes with CM10.1 anyway.

Pent

unread,
Jan 16, 2013, 2:00:55 AM1/16/13
to Tasker
Probably you can use Load App and specify the URL in the Data field
too.

Pent

bdanders

unread,
Jan 16, 2013, 10:00:20 AM1/16/13
to tas...@googlegroups.com
Good suggestion, but it didn't work for me. I actually didn't even notice that data field was there. What else might that be used for?

Badhri Narayanan

unread,
Oct 8, 2013, 10:49:05 AM10/8/13
to tas...@googlegroups.com
Er.. You might have already figured out the answer, but anyway, thought of documenting it.

A1: Send Intent 
Action:android.intent.action.VIEW Cat:Default 
Mime Type: 
Extra: 
Extra: 
Package:com.mx.browser 
Class: 
Target:Activity 

This will open E-bay in Maxthon browser(which is not default). Changing the package name to your browser's might help.

Thanks

Snorre Rubin

unread,
Sep 25, 2015, 5:20:05 AM9/25/15
to Tasker, badhrina...@gmail.com
Is it possible to also have it enter data in the following window, and submit?

I am trying to use this for my workplace wifi sign in page, which doesn't work very well, and not at all in chrome. 
Message has been deleted

Darijo Gospić

unread,
Feb 2, 2016, 4:46:17 AM2/2/16
to Tasker, badhrina...@gmail.com
I've been trying to open Chrome's bookmark page, or at least new tab page, but with no success. I've tried this:

A1: Send Intent [ 
     Action:android.intent.action.VIEW 
     Cat:None 
     Mime Type: 
     Data:about:newtab/#bookmarks 
     Extra: 
     Extra: 
     Package:com.android.chrome 
     Class: 
     Target:Activity ]

this:

Network -> Browse URL (with URL: chrome://newtab)

and this:

App->Launch app(Chrome) with dana: chrome://newtab


Does anybody have other idea?
Thanks

Reply all
Reply to author
Forward
0 new messages