LockDown: Launch an URL with Chrome

Hi,

Into the LockDown/Kiosk i have add "Launch://com.android.chrome" and it's works properly.

But now i would like to Chrome browser open automaticaly with https://my_url.

How can i do that? :-(

5 years ago
Android
ANSWERS

Hi Christophe,


Thanks for your answer.
I always try that before but it doesn't works.
Is it possible to add a setting after : Launch://com.android.chrome

For example like with a shortcut under Win10 : Launch://com.android.chrome "https://my-url"

TB
TJ Bukoski
5 years ago

Try this in Lockdown as well:

intent://my_url#Intent;scheme=https;action=android.intent.action.VIEW;component=com.android.chrome/com.android.chrome.Main;end

RC
Raymond Chan Diamond Contributor
5 years ago (edited 5 years ago)

Hi T. J,

There seems to be typo in your post or display problem in this forum GUI.   I believe you meant the following in one single line:

 intent://my_url#Intent;scheme=https;action=android.intent.action.VIEW;component=

   com.android.chrome/com.android.chrome.Main;end

Thank to you: Raymond and TJ for your answers.

Unfortunately, your solution does not work because I have the following error: activity not found.

R
Rémi
5 years ago (edited 5 years ago)

Hello.

Try that, It works for me :

Intent://YOURURL#Intent;scheme=http;action=android.intent.action.VIEW;component=com.android.chrome;end

or

Intent://YOURURL#Intent;scheme=https;package=com.android.chrome;end

J
JVMOD@SOTI
5 years ago

Hello Olivier,

Thank you for your post, please try following -

<intent:https://<URL>#Intent;action=com.google.chrome.action.VIEW;end>

please replace <URL> part with the exact URL address you need the device users to access.

OR

try blocking all other browsers using App Run Control and then to use browser:// or browsers:// to get the URL opened using chrome.

Regards,

MV
Martin V
4 years ago

Was there an update to this?
I have looked through every possible forum discussion with various solutions with no success. I am also getting activity not found.

Thank you

RS
Rafael Schäfer
4 years ago (edited 4 years ago)

To be sure: You only want to set some kind of "starting page" or really different links in the lock down?

And additional question: You are using managed google play account or not?

RC
Raymond Chan Diamond Contributor
4 years ago

Hi Martin,

Please list out what you have tried but failed.

Also,  If you got message about "activity not found", that can be due to

1. your chrome brower completely disabled in Settings, or with Application-Run-Control or Feature-Control policies

2. you have not whitelist Chrome in your lockdown or with Application-Run-Control policiy

3. the chrome browser on your device has a very different bundle-ID or activity name different from the usual ones in other device brands/models.  This is very very unlikely, but is still possible for some small brand devices that use the standard source code base but have modified app/activity name before compilation for some special reason(s).

MV
Martin V
3 years ago

Hi Rafaël,
Apologies on the late reply.
Correct. What I want it to launch to a starting page in chrome.
I am attempting to configure this on Zebra MC9300 devices running Android 8.0.
Not using any managed Google Play account. I bypass this step directly and do not use any google account.

MV
Martin V
3 years ago

Hi Raymond,

I have attempted the following configurations:

intent:https://<URL>#Intent;action=com.google.chrome.action.VIEW;end

intent://<URL>#Intent;scheme=https;action=android.intent.action.VIEW;component=com.android.chrome/com.android.chrome.Main;end

browsers:// URL

browser:// URL

RS
Rafael Schäfer
3 years ago

Ok, with bypassing every google account (managed google play is only generic with only the playstore in general as functionality) you get rid of the possibility to configure chrome (set startingpage etc.).

Same for the web-apps, only with managed playstore...

So, the only possibility is the script written before in the posts from Rémi already:

Intent://YOURURL#Intent;scheme=http;action=android.intent.action.VIEW;component=com.android.chrome;end

or

Intent://YOURURL#Intent;scheme=https;package=com.android.chrome;end

And maybe take a look in this thread: https://discussions.soti.net/thread/how-i-can-launch-a-local-url-in-chrome-using-lockdown-2/

KG
Konrad G
3 years ago

Hey...

So I was able to manage it and have custom URL start in Chrome into my Lockdown

So basically create .cmd file which will contain:

sendintent -a "<URL>#Intent;action=android.intent.action.VIEW;component=com.android.chrome;end"

Into Lockdown put Custom and type script://%sdcard%/PATH/File.cmd

And here is a tricky part... you need to have additional tab for Chrome (Launch://com.android.chrome) provided into your Lockdown to make it work (at least it worked for me)

I don't have Chrome as blacklisted or anything like that From apps restrictions/Feature Control.

Most likely there is need to rebuild a HTML Template which will contain Chrome inside it