Discussion:
[chromium-discuss] Chrome on Android
m***@gmail.com
2018-07-03 12:19:48 UTC
Permalink
Hi,

Anyone know how the intent command looks to start a installed webapp?

In Chrome, for a specific page, if from the menu, one selects "Add to
homescreen". How does that shortcut look?

In SOTI MobiControl, we use the Lockdown view. Meaning, we have to create
the shortcuts ourselfs. we can use Intent, but don't know how it should
look to trigger the fullscreen view of Chrome that occurs when launching
via that shortcut.
The user wants the page to be in complete fullscreen, as is done when
launching a shortcut for a webapp.

Best Regards
Mikael
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
d***@chromium.org
2018-07-04 07:51:52 UTC
Permalink
Hi,

Unfortunately, we do not allow intents from sources other than Chrome to
launch Chrome as a standalone fullscreen webapp. This is a security measure
to avoid arbitrary intents being able to present fullscreen UI that points
to a remotely controlled site.
Post by m***@gmail.com
Hi,
Anyone know how the intent command looks to start a installed webapp?
In Chrome, for a specific page, if from the menu, one selects "Add to
homescreen". How does that shortcut look?
In SOTI MobiControl, we use the Lockdown view. Meaning, we have to create
the shortcuts ourselfs. we can use Intent, but don't know how it should
look to trigger the fullscreen view of Chrome that occurs when launching
via that shortcut.
The user wants the page to be in complete fullscreen, as is done when
launching a shortcut for a webapp.
Best Regards
Mikael
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
m***@gmail.com
2018-07-04 08:33:09 UTC
Permalink
Hi dominickn,
Oh, so there is no way to start a Chrome WebAPP from anything else than the
HomeScreen shortcut specifically created by Chrome?
Post by d***@chromium.org
Hi,
Unfortunately, we do not allow intents from sources other than Chrome to
launch Chrome as a standalone fullscreen webapp. This is a security measure
to avoid arbitrary intents being able to present fullscreen UI that points
to a remotely controlled site.
Post by m***@gmail.com
Hi,
Anyone know how the intent command looks to start a installed webapp?
In Chrome, for a specific page, if from the menu, one selects "Add to
homescreen". How does that shortcut look?
In SOTI MobiControl, we use the Lockdown view. Meaning, we have to create
the shortcuts ourselfs. we can use Intent, but don't know how it should
look to trigger the fullscreen view of Chrome that occurs when launching
via that shortcut.
The user wants the page to be in complete fullscreen, as is done when
launching a shortcut for a webapp.
Best Regards
Mikael
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
m***@gmail.com
2018-07-04 08:37:44 UTC
Permalink
I have gotten this far:

adb shell am start -n
com.android.chrome/org.chromium.chrome.browser.webapps.WebappLauncherActivity
"URL"

This does not give any errors, but on the other hand, it does not start
Chrome with the specific URL/WebApp that has already been added to the
homescreen..
Post by m***@gmail.com
Hi dominickn,
Oh, so there is no way to start a Chrome WebAPP from anything else than
the HomeScreen shortcut specifically created by Chrome?
Post by d***@chromium.org
Hi,
Unfortunately, we do not allow intents from sources other than Chrome to
launch Chrome as a standalone fullscreen webapp. This is a security measure
to avoid arbitrary intents being able to present fullscreen UI that points
to a remotely controlled site.
Post by m***@gmail.com
Hi,
Anyone know how the intent command looks to start a installed webapp?
In Chrome, for a specific page, if from the menu, one selects "Add to
homescreen". How does that shortcut look?
In SOTI MobiControl, we use the Lockdown view. Meaning, we have to
create the shortcuts ourselfs. we can use Intent, but don't know how it
should look to trigger the fullscreen view of Chrome that occurs when
launching via that shortcut.
The user wants the page to be in complete fullscreen, as is done when
launching a shortcut for a webapp.
Best Regards
Mikael
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
d***@chromium.org
2018-07-04 08:42:18 UTC
Permalink
Chrome verifies the source of the intent sent to WebappLauncherActivity,
and if it wasn't the original homescreen shortcut, or Chrome itself that
sent the intent, the URL will not be opened a standalone web app.
Post by m***@gmail.com
adb shell am start -n
com.android.chrome/org.chromium.chrome.browser.webapps.WebappLauncherActivity
"URL"
This does not give any errors, but on the other hand, it does not start
Chrome with the specific URL/WebApp that has already been added to the
homescreen..
Post by m***@gmail.com
Hi dominickn,
Oh, so there is no way to start a Chrome WebAPP from anything else than
the HomeScreen shortcut specifically created by Chrome?
Post by d***@chromium.org
Hi,
Unfortunately, we do not allow intents from sources other than Chrome to
launch Chrome as a standalone fullscreen webapp. This is a security measure
to avoid arbitrary intents being able to present fullscreen UI that points
to a remotely controlled site.
Post by m***@gmail.com
Hi,
Anyone know how the intent command looks to start a installed webapp?
In Chrome, for a specific page, if from the menu, one selects "Add to
homescreen". How does that shortcut look?
In SOTI MobiControl, we use the Lockdown view. Meaning, we have to
create the shortcuts ourselfs. we can use Intent, but don't know how it
should look to trigger the fullscreen view of Chrome that occurs when
launching via that shortcut.
The user wants the page to be in complete fullscreen, as is done when
launching a shortcut for a webapp.
Best Regards
Mikael
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
m***@gmail.com
2018-07-04 08:46:39 UTC
Permalink
Okay, so there is no way around it?
Either they have to not use the lockdown feature, and have a open device,
or, they have to use the webpage in a tabbed window?
Post by d***@chromium.org
Chrome verifies the source of the intent sent to WebappLauncherActivity,
and if it wasn't the original homescreen shortcut, or Chrome itself that
sent the intent, the URL will not be opened a standalone web app.
Post by m***@gmail.com
adb shell am start -n
com.android.chrome/org.chromium.chrome.browser.webapps.WebappLauncherActivity
"URL"
This does not give any errors, but on the other hand, it does not start
Chrome with the specific URL/WebApp that has already been added to the
homescreen..
Post by m***@gmail.com
Hi dominickn,
Oh, so there is no way to start a Chrome WebAPP from anything else than
the HomeScreen shortcut specifically created by Chrome?
Post by d***@chromium.org
Hi,
Unfortunately, we do not allow intents from sources other than Chrome
to launch Chrome as a standalone fullscreen webapp. This is a security
measure to avoid arbitrary intents being able to present fullscreen UI that
points to a remotely controlled site.
Post by m***@gmail.com
Hi,
Anyone know how the intent command looks to start a installed webapp?
In Chrome, for a specific page, if from the menu, one selects "Add to
homescreen". How does that shortcut look?
In SOTI MobiControl, we use the Lockdown view. Meaning, we have to
create the shortcuts ourselfs. we can use Intent, but don't know how it
should look to trigger the fullscreen view of Chrome that occurs when
launching via that shortcut.
The user wants the page to be in complete fullscreen, as is done when
launching a shortcut for a webapp.
Best Regards
Mikael
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
Loading...