Skip to main content
Participant
November 3, 2014
Question

How do you get the correct Capabilities.screenResolutionX value from a Kindle Fire?

  • November 3, 2014
  • 1 reply
  • 562 views

My apps are not reading the proper fullscreen width on the Kindle Fire anymore. The space occupied by the hiding Kindle toolbar is not being included in the Capabilities.screenResolutionX value and my game leaves a black edge.

This topic has been closed for replies.

1 reply

Adobe Employee
November 4, 2014

Thanks for reporting the issue.

we have verified it at our end but could not reproduce it. Tried on Kindle Fire HD 7'' and the resolution returned are correct i.e 1280 x 800, also the app appears on fullscreen.

Could you please try with our latest SDK and shared your findings, if issue exists please share some sample app.

Regards,

Jitender

casualdevAuthor
Participant
November 4, 2014

I am using Flash CS6 and packaging for Android with the latest SDK. Orientation is set to Landscape and Fullscreen. My apps are built at 480 x 320 and then I use Capabilities.screenResolutionX to return the device screen dimensions, but all of my apps are launching and scaling with a black space on the right edge for the software toolbar. I am testing on a Kindle Fire HD 7.

The odd thing is that on some rare occasions after publishing to the device the app will open fullscreen. I think it has to do with the app being published to the device while the device is in sleep mode but that is just a suspicion at this point.

When I first noticed the problem, I began working to fix it and thought I had when the app launched correctly. But then on the next launch it left the black edge on the right side again.

I've also tried stage.stageWidth and stage.fullScreenWidth. Nothing solves the problem. This happened after I noticed a change in the Kindle slidebar.

Adobe Employee
November 5, 2014

we still can't reproduce problem at our end. we have created a Flash Pro project as you described above with 480x320 stage, landscape, Fullscreen and we are not seeing any black edge, our app launches perfectly fine.

I am sharing sample project with you @Dropbox - KindleFire.zip. please try this and let us know your observation.

Thanks,

Jitender