Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

How to full screen app with Android on Samsung device?
Started by Trung Kien Tran Feb 14 2019 01:08 AM

3 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

Trung Kien Tran

[GLOBAL: userInfoPane.html]
Trung Kien Tran
  • Enthusiast

  • 58 posts
  • Corona SDK

Samsung has something called Game Tools on the s7,s8, and s9 that automatically puts games in a letterbox mode. You have to dig into the Game Tools menu and toogle 'Full Screen' to eliminate this, in which case Game Tools asks to restart your game and restarts your game in true full screen mode if you accept. I've found after you quit the game it often turns itself back to letterbox mode. Very irritating, particularly as this often affects navigation button functionality.

 

75bca02c7a5c6e24529672df85939f91.png

 

With native build, I use this method to make my application full screen:

<meta-data android:name="android.max_aspect" android:value="2.1" />

How to set with Corona SDK?

 

PS: On config.lua file to set: scale = "zoomStrecth", When submitting to Google Play, I choose the application category, my application is full screen, but when I choose my app is game category it does not



[TOPIC: post.html]
#2

Trung Kien Tran

[GLOBAL: userInfoPane.html]
Trung Kien Tran
  • Enthusiast

  • 58 posts
  • Corona SDK

Up!



[TOPIC: post.html]
#3

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,558 posts
  • Enterprise

https://forums.coronalabs.com/topic/70798-enabling-samsung-s8-full-screen-mode/

 

Rob



[TOPIC: post.html]
#4

lee.jeff1606

[GLOBAL: userInfoPane.html]
lee.jeff1606
  • Observer

  • 1 posts
  • Corona SDK

Try this and add arbitrary androidmanifest.xml enteries

 

 

settings =
{
android =
{
        applicationChildElements =
        {
            -- Array of strings
           
[[
            <meta-data android:name="android.max_aspect" android:value="2.1"/>
            ]],
        },
}
}

 

Hope this will help you or you can try Dev Tools(Android Developer Tools) app https://androidcrew.com/app/cn.trinea.android.developertools

wanna know your update?




[topic_controls]
[/topic_controls]