How I can launch a local URL in chrome using Lockdown?

EG
Edwyn G.
Aptar Freyung GmbH (Aptar Congers)

Hello Everyone

I want to open a local URL in the scanner using Lockdown I already configured everything.

Kioske Mode 

I tried many options in the URL field

browser://squepapp01.Domain:8081/XXcore/public/

surf://squempa001.Domain:8081/XXcore/public/login.xhtml

http://squempa001.Domain:8081/XXcore/public/login.xhtml

Browser://squempa001.Domain:8081/XXcore/public/login.xhtml

intent://squempa001.Domain:8081/XXcore/public/login.xhtml#Intent;scheme=http;action=android.intent.action.VIEW;component=com.android.chrome/com.android.chro

Intent:http://squempa001.Domain:8081/XXcore/public/login.xhtml#Intent;scheme=http;action=android.intent.action.VIEW;component=com.android.chrome;end

But when I press the button nothing happens

Do you know how I can open my URL in Google chrome from the lockdown?

Regards

5 years ago
Android
ANSWERS
D
DDMOD@SOTI
5 years ago

Hi Edwyn,

Thanks for the post!

To open that URL on the Lockdown mode through Google Chrome, have you installed a browser app on the device?

Try opening the same URL on the browser first(either in admin or user mode) on the device. If the browser works as expected, then include the URL on the lockdown configuration as:

browser://squempa001.Domain:8081/XXcore/public/login.xhtml

or

browsers://squempa001.Domain:8081/XXcore/public/login.xhtml

Kindly share the outcome.

Regards,

EG
Edwyn G.
5 years ago

Hello, yes I did that steps before, go to administrator mode the open Google Chrome and open the address and it worked.

but put in that configuration in the lockdown doesn't work, seems like that code doesn't call to Chrome to run the address.

D
DDMOD@SOTI
5 years ago

Hey Edwyn,

The browser:// opens the URL using the Android default browser. 

In that case, can I ask you to try the following command line instead:

<intent:https://<URL>#Intent;action=android.intent.action.VIEW;end>

Although it doesn't specify which browser to use to open the URL, it will allow you to bypass lockdown's default browser, and should give you a choice of what browser to use when you will attempt to open that link inside a lockdown for the first time. 
If you select Chrome, the lockdown will remember your choice, and will always use that browser to open the link.

Please share the results once you try this.

Regards,

LC
Leon Callsen
3 years ago

Hi can you maybe help me ? 
In my case my device just doesn't react to the intent in my lockdown. 

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

He Edwyn,

If Chrome is the only browser on your device (e.g. by blacklisting other browser apps bundled or installed), or is set as the default browser on your device, then 

   intent:https://squempa001.Domain:8081/XXcore/public/login.xhtm#Intent;action=android.intent.action.VIEW;end

should start your local URL in chrome.

EG
Edwyn G.
5 years ago
I installed surface then I put the url and it worked, because I tried with all other methods but it didn’t work is weird, Chromes i the default browser I tested The url direct and it works, just the issues is in the lockdown didn’t call chrome!
RC
Raymond Chan Diamond Contributor
5 years ago (edited 5 years ago)

I'm not sure I totally understood what your meant in your last post.

Is the Chrome browser  (i.e. "launch://com.android.chrome") one of the item already defined in your lockdown menu profile configuration payload?  If not, please add it to test if your item with the URL works or not.  As mentioned in one of my other recent post in another thread,  the added "chrome" item can be hidden later once it's confirmed that the overall setup is OK.