Skip to main content
Lars Laborious
Legend
Jan 3, 2019 3:09 PM UTC
Answered

Android fullscreen

Hi, all.

I've noticed that on some Android devices (at least on Huawei P Smart) my apps will trigger an alert stating that the app is not optimized for fullscreen mode. However if you then choose to display it in fullscreen mode, it does show everything correctly.

I'm using Animate and have added these to the manifest XML:

<supports-screens

    android:normalScreens="true"

    android:largeScreens="true"

    android:xlargeScreens="true"   

    android:anyDensity="true"/>

<meta-data android:name="android:maxAspectRatio" android:value="3" />

Also I'm targeting SDK 26.

Anyone else encountered this issue?

This topic is closed to new replies. Start a new post to keep the conversation going.
Colin Holgate
Colin HolgateCorrect answer
Inspiring
Jan 3, 2019 3:16 PM UTC

I see this issue too, and I don't think there is a built in way for AIR to force immersive mode. There are ANEs that you can use to force immersive, but I haven't tried those yet.

The issue isn't what size screens you support, it's just the immersive mode, where the home and back buttons are hidden.

BTW, if the user dares to go for it, your app will then use immersive mode every time, unless the user goes into settings to turn off the option. And you're not alone, even the Facebook app relies on the user choosing to do immersive.

2 replies

Colin Holgate
Colin HolgateCorrect answer
Inspiring
Jan 3, 2019 3:16 PM UTC

I see this issue too, and I don't think there is a built in way for AIR to force immersive mode. There are ANEs that you can use to force immersive, but I haven't tried those yet.

The issue isn't what size screens you support, it's just the immersive mode, where the home and back buttons are hidden.

BTW, if the user dares to go for it, your app will then use immersive mode every time, unless the user goes into settings to turn off the option. And you're not alone, even the Facebook app relies on the user choosing to do immersive.

Translate
Lars Laborious
Legend
Jan 3, 2019 3:58 PM UTC

Thanks, Colin! Glad to hear I'm not alone.

I'll probably test an ANE for immersive mode on my next release.

Translate