Fullscreen in android

259 views
Skip to first unread message

Himanshu Srivastava

unread,
Mar 31, 2016, 1:53:21 AM3/31/16
to Chromium-discuss
Hi ,

I need to launch chromium in fullscreen in android. I tried flags --start-fullscreen and --kiosk. But all these flags are not working on android.
Is there any other way to launch chromium in fullscreen.


Regards
Himanshu

PhistucK

unread,
Mar 31, 2016, 2:22:56 AM3/31/16
to Himanshu Srivastava, Chromium-discuss
If you use the "Add to homescreen" feature, the created shortcut will open full screen.


PhistucK

--
--
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-discu...@chromium.org.

Himanshu Srivastava

unread,
Mar 31, 2016, 4:34:10 AM3/31/16
to PhistucK, Chromium-discuss
Hi ,

I tried the same , but still it is not opening in full screen. I am using android 5.1.1 version.

Regards
Himanshu

PhistucK

unread,
Mar 31, 2016, 4:44:38 AM3/31/16
to Himanshu Srivastava, Chromium-discuss
Did you make changes to your Chromium?


PhistucK

Himanshu Srivastava

unread,
Mar 31, 2016, 5:34:39 AM3/31/16
to PhistucK, Chromium-discuss
Hi ,

I made few changes to support multicast in chromium . But those changes are not related to full screen issue

PhistucK

unread,
Mar 31, 2016, 5:37:38 AM3/31/16
to Himanshu Srivastava, Chromium-discuss
If I were you, I would try reverting the changes (and getting the latest revision of the code) and see if it works.
Also, check crbug.com for open issues (or recently fixed) issues regarding full screen, which may give you an idea of what is wrong.


PhistucK

Himanshu Srivastava

unread,
Apr 13, 2016, 2:33:18 AM4/13/16
to PhistucK, Chromium-discuss
Hi ,

On chromium code walkthrough I found that for flags "--start-fullscreen" and --kiosk to work it need to compile flile
/chrome/browser/ui/startup/startup_browser_creator_impl.cc

But this file is not compiled on chromium build on android because of chrome/browser/ui/BUILD.gn

  if ((!is_android || use_aura) && !is_ios) 
    sources += rebase_path(gypi_values.chrome_browser_ui_non_mobile_sources,
                           ".",
                           "//chrome")

This file is not included on android build.

Could anyone tell me know how to start browser in fullscreen.

Also when I am trying to do full screen after chromium launch then HTML5 gui is not scaled properly according to change in chromium fullscreen .

Is there any solution for this.

Regards
Himanshu


Reply all
Reply to author
Forward
0 new messages