Fullscreen Webpage on Android Webview?

Get help using Construct 2

Post » Mon Jun 30, 2014 11:37 am

I would like to make an app that displays a webpage using android's webview (hiding notification bar), so that it's fullscreen.

I searched on google and found this tip:
Just add (or change) the activity's android:theme attribute with following line in AndroidManifest.xml file

android:theme="@android:style/Theme.NoTitleBar.Fullscreen"


I just don't know how to implement that since I don't see a manifest file when cocoonJS exports.
B
10
S
2
Posts: 30
Reputation: 722

Post » Mon Jun 30, 2014 1:45 pm

Did you try the "Browser" "Request fullscreen" inside construct 2?
You add the "browser" object to the layout which will then make it available to the entire project.
B
6
S
1
Posts: 73
Reputation: 571

Post » Tue Jul 01, 2014 4:36 pm

I did but it makes the webpage flicker uncontrollably (it tries to switch between fullscreenmode canvas and browser) and then the app crashes.
B
10
S
2
Posts: 30
Reputation: 722


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 10 guests