Browse URL task not working with screen locked

209 views
Skip to first unread message

Jesper64

unread,
Apr 6, 2013, 9:41:42 AM4/6/13
to tas...@googlegroups.com
I'm using the Browse URL to open a webpage for me each morning.

Using the Test function it works fine in Tasker opening the specified URL and if the phone screen is unlocked the task works fine too.  However, if the screen is locked, it will open the browser (when I unlock the phone the browser is active) but it will not load the specified URL.  It will only open the Browser to the last opened page.

Is there a setting I'm missing to get the URL opened even with the screen locked?  The other tasks I'm activating with this profile are working fine eg connect to WiFi, sync with DropSync.

Pent

unread,
Apr 6, 2013, 10:08:35 AM4/6/13
to Tasker
> Using the Test function it works fine in Tasker opening the specified URL
> and if the phone screen is unlocked the task works fine too.  However, if
> the screen is locked, it will open the browser (when I unlock the phone the
> browser is active) but it will not load the specified URL.  It will only
> open the Browser to the last opened page.

Sounds like a problem with the browser.

Try instead of Browse URL:

Variable Set, %LoadOnUnlock, trye

Then create a new profile:

Event: Display Unlocked:
Variable Value: %LoadOnUnlock, Is Set
Task:
Browse URL, ...
Variable Clear, %LoadOnUnlock

So that it's only started when you unlock the screen.

(may not be useful, I don't know what you're trying to achieve)

Pent

Jesper64

unread,
Apr 6, 2013, 10:23:04 AM4/6/13
to tas...@googlegroups.com
Hi Pent,

Thanks for the quick reply.

I'm using Chrome on a Nexus 4 with stock 4.2.2

Basically I'm trying to create a task that will run (by a time specified profile) before I wake up. Basically I want it to:
1) Turn on WiFi
2) Wait 30 seconds for WiFi connect
3) Sync with DropSync (which works with the screen locked)
4) Open a specified URL in Chrome so it's ready to read when I wake up.
5) Task closes and WiFi setting is returned to whatever it was pre the profile activating.

So everything works fine except the URL opening in Chrome. As I said if the screen is unlocked then the Chrome will launch fine and the URL will auto load. However, if the screen is locked, Chrome will launch but the URL will not auto load.

Your solution to won't quite work as the screen would have to be unlocked before loading the URL and the WiFi might not be on still.

Pent

unread,
Apr 6, 2013, 10:46:13 AM4/6/13
to Tasker
> So everything works fine except the URL opening in Chrome. As I said if the
> screen is unlocked then the Chrome will launch fine and the URL will auto
> load. However, if the screen is locked, Chrome will launch but the URL will
> not auto load.

Well if Chrome is launched I'm pretty sure it also gets passed the
URL,
so you'll need to contact the Chrome devs.

Pent

TomL

unread,
Apr 6, 2013, 10:58:35 AM4/6/13
to tas...@googlegroups.com
instead of passing the url to chrome, have you tried using wget to download the page and save it locally.

Then when you want to read the page, pass the local url for your locally saved page to chrome?

Tom

Matthew Redmond

unread,
Apr 11, 2014, 5:39:18 PM4/11/14
to tas...@googlegroups.com
I am also still having this issue where Browse URL only works with Chrome if the display is unlocked. I'm currently using Wait Until %ScreenUnlocked is set as a workaround in order to perform a task similar to the OP, but I just wanted to inform that this issue still exists and was curious if there is any other fix.
Reply all
Reply to author
Forward
0 new messages