Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Android Galaxy S10 full screen
Started by andrea_corte Sep 16 2019 05:02 AM

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

andrea_corte

[GLOBAL: userInfoPane.html]
andrea_corte
  • Enthusiast

  • 39 posts
  • Corona SDK

Good morning
I'm trying to enable the full screen on a samsung galaxy s10.
 
I state that on a galaxy S9 + everything works correctly.
 
To make it work in full screen I have to go to the App screen settings and select full screen mode instead of automatic mode.
 
is there a way to start the app automatically in full screen?
 
I have already set in the build.setting:
 
applicationChildElements =
         {
             - Array of strings
             [[
             <meta-data android: name = "android.max_aspect" android: value = "2.1" />
             ]],
         },
 
By entering this code only on samsung s10 a black bar appears at the camera level.
 
I hope for help I have been stopped for several days
Best regards


[TOPIC: post.html]
#2

XeduR @Spyric

[GLOBAL: userInfoPane.html]
XeduR @Spyric
  • Contributor

  • 944 posts
  • Corona SDK

Are you working with Corona Native?

 

I haven't heard of Android apps starting in anything but full screen. In fact, I haven't even heard of "automatic mode". Could you post a screenshot of what is happening?



[TOPIC: post.html]
#3

andrea_corte

[GLOBAL: userInfoPane.html]
andrea_corte
  • Enthusiast

  • 39 posts
  • Corona SDK

No I'm working with a normal corona sdk.
I enclose photo with difference.
I wish I could set the full screen mode automatically.
Thanks
Best regards

Attached Files



[TOPIC: post.html]
#4

andrea_corte

[GLOBAL: userInfoPane.html]
andrea_corte
  • Enthusiast

  • 39 posts
  • Corona SDK

Can anyone help me?

Thanks



[TOPIC: post.html]
#5

XeduR @Spyric

[GLOBAL: userInfoPane.html]
XeduR @Spyric
  • Contributor

  • 944 posts
  • Corona SDK

I'm not really sure what might be going on. Maybe someone else does.

 

I've never used that android.max_aspect myself, but maybe that has something to do with your issue. Have you tried without it? Corona's dynamic scaling should automatically scale your app to fill the screen of any device (depending on your config.lua, of course).




[topic_controls]
[/topic_controls]