Skip to main content
grosssmutttr
Known Participant
September 18, 2016
Question

AIR 23 - stage.fullscreenheight / Capabilities.screenResolutionY wrong

  • September 18, 2016
  • 4 replies
  • 4040 views

Hi there,

just upgraded to AIR 23 and I'm happy to see that the full screen feature is implemented.

Unfortunately screen.fullscreenheight and Capabilities.screenResolutionY are returning wrong values on Android with immersive Full-Screen.

I think the values returned are not reduced by the menu bar at the bottom of the device which is hidden since AIR 23.

Would be great to hear whether there is a workaround.

Best

This topic has been closed for replies.

4 replies

Participating Frequently
October 8, 2017

There are black bands on the right and left of the screen. The content can not adjust.

Apple AirSDK 27 iphone 5,5 7 FlashBuilder

Inspiring
October 10, 2017

The best way to get the correct real estate values for any device is via ANE especially for Android.

Participating Frequently
October 7, 2017

I test with Air26 and there is still a bug with stage.fullScreenWidth . I test with an iphone 5,5 and 7

Participating Frequently
November 18, 2016

Too bad there is no answer / fix.

With the update of Animate CC 2017 I can not use AIR < 23

I have this bug too, the flash viewport is smaller than the device screen, so every object outside the stage is visible.

And I can not use AIR 22 anymore

Please correct it, is it fixed in AIR 24 beta ?

grosssmutttr
Known Participant
December 1, 2016

So after 3 months still no fix?

Mayank_Gupta
Adobe Employee
Adobe Employee
December 2, 2016

This issue has been fixed, Please try to use latest AIR SDK build from - Download Adobe AIR 24 Beta - Adobe Labs

September 19, 2016

As you stated, immersive full-screen in Android hides the clock bar (and on-screen nav buttons if present). In theory, the two reference values you listed should be the same because when the user swipes from the top or bottom of the screen to make the clock bar and nav bar re-appear over the apps content, but not actually resizing the windowed area of the app.

You stated that the values returned are wrong from what you expect them to be, but what are the actual values you are getting?

Also, what is it that you are hoping to achieve by getting this information? If there was a better understanding of what you are wanting to accomplish, workarounds or ideas may be able to be suggested, even if in the end it means using/creating an ANE to detect the change.

grosssmutttr
Known Participant
September 19, 2016

Hi there,

as I set the app to fill the full screen I was hoping to get the real device height and width by these two methods.

The clock bar is hidden since versions before AIR 23 so there is no problem.

As of version 23 the immersive full-screen feature is implemented but unfortunately AIR doesn't consider the hidden menu/navbar at the bottom so calling stage.fullscreenheight does not include the navbar height.

Mayank_Gupta
Adobe Employee
Adobe Employee
September 20, 2016

Hi Dominik,

Thanks for reporting the issue.

I tried this issue by making a sample project using both stage.fullscreenheight and Capabilities.screenResolutionY and they are returning the same correct value, the actual height of device, Please check the full screen value is true in xml file

<fullScreen>true</fullScreen>

if still you will get wrong values so please share a sample project so we will try to reproduce at our end and help you better by providing workaround.

Regards,

Mayank