Shockblast Apps Posted September 16, 2013 Share Posted September 16, 2013 Hey guys, Do you guys happen to know how to get a HTML5 game to work fullscreen on an Android device??My game is 320x480 and my phone is 480x800, so the game only takes a portion of my screen... I got it working on the iphone, but I can't find any information on how to do it on Android. Oh btw on the regular iphone and the iphone 4(retina), the safari toolbar on the bottom is overlapping with a piece of the gamescreen. I noticed this also with TrueValhalla's games, are there any workarounds for that?? Thanks! Quote Link to comment Share on other sites More sharing options...
rich Posted September 16, 2013 Share Posted September 16, 2013 The latest version of Chrome on Android supports the FullScreen API - so you can go proper fullscreen. Failing that you need to use the window.setTo hack to try and scroll browser UI out of the way. Sometimes this works, sometimes it doesn't. On iOS5 you can't get rid of the bottom Safari bar. At all. On iOS6 the user can get rid of it, but in landscape mode only. In iOS7 they can't even do that haden 1 Quote Link to comment Share on other sites More sharing options...
Shockblast Apps Posted September 16, 2013 Author Share Posted September 16, 2013 Thanks for the reply, I'll try to apply your method for Android and I guess I need to design my game to adapt to the iPhone. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.