kiosk mode or fullscreen API in chromium content/chrome shell on android

374 views
Skip to first unread message

Ingo Albers

unread,
Jul 1, 2014, 5:44:14 AM7/1/14
to chromi...@chromium.org

Hello,

for a project I would like to use a self built chromium browser. Content shell is enough for my needs as I only need to display one website, without any user interaction.

But I have the problem that I can not use the fullscreen API or kiosk mode.

For example on this site:

http://blogs.sitepointstatic.com/examples/tech/full-screen/index.html

Nothing happens in content or chrome shell, while in chrome on android it works.

I also tried to start chromium with the kiosk flag as explained here:

http://www.chromium.org/developers/how-tos/run-chromium-with-flags

But kiosk mode doesn't seem to be supported under android as nothing happens when I tried it.

So my question is. Is there any way to achieve a full screen browsing experience using chromium content shell under android. (without address/menu/bar and without system bar)

Thanks for any input

Arunprasad Rajkumar

unread,
Jul 1, 2014, 7:17:57 AM7/1/14
to pjotr...@gmail.com, chromium-dev
The Full Screen API may work for your need. Did you try that?

<BR/>
<Arun/>


--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.

Ingo Albers

unread,
Jul 1, 2014, 8:06:20 AM7/1/14
to chromi...@chromium.org, pjotr...@gmail.com
Yes, I did. But it is not working in Content Shell or Chrome Shell under android. It only works in Chrome.

Pankaj Goyal

unread,
Aug 18, 2015, 7:59:37 AM8/18/15
to Chromium-dev, pjotr...@gmail.com
well, I managed to get full screen kiosk mode by tweaking the layout file src/content/shell/android/java/res/layout/shell_view.xml

<org.chromium.content_shell.Shell
    android:id="@+id/container"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical" >
    <LinearLayout android:id="@+id/toolbar"
        android:visibility="gone"
Reply all
Reply to author
Forward
0 new messages