Kindle Resolution

Hello,
I was wondering - why Corona SDK thinks that Kindle Fire is 1024*600?
it is 1024*580 or 1004*600 - 20 pixels from height used by Kindle to show his Bar (or more - when it open).

Does Corona have any event dispatched for that? Or anyway to show right dimension?

At this moment I have to use ‘tweak’:

\_H = display.contentHeight; optionsBuild = "amazon";-- "ios"/"android"/"amazon"/"nook" if(optionsBuild == "amazon")then \_H = \_H - 20; end [import]uid: 90911 topic_id: 30650 reply_id: 330650[/import]

Just wanna add - display.statusBarHeight returning nil on Kindle Fire. [import]uid: 90911 topic_id: 30650 reply_id: 122786[/import]

Doesn’t look right to me… display.contentHeight represents the size of your view in “corona units” not pixels. Reducing 20 units is probably too much depending on what view size you have configured (I’m using 480x320)

So in this case every pixel is actual less than 0.5 display units. [import]uid: 80469 topic_id: 30650 reply_id: 122797[/import]

gtt - i have no idea what you talking about.

I have a Kindle Fire with me - and there my app dosent work as in simulator. And what I wrote - is true - just get Kindle and look for your self.

PS I guess, I dont care what dimensions you are using. I just wanna hear what Corona Devs thinks about that - and if they planing todo any fixes, workarounds, etc =) And devs without device - should be aware of this. [import]uid: 90911 topic_id: 30650 reply_id: 122801[/import]

The soft menu bar on the Kindle Fire is what it is. A pain in the behind. The Kindle Fire is a 1024x600 pixel device. That’s what the OS tells Corona is available. The “status bar” on the KF isn’t that soft menu bar, but the one at the top that shows the wifi signal, battery strength, etc. I’m not sure why the call to get info about it is returning nil, but it’s not talking about the bar at the bottom.

The best thing you can do is for elements position relative to the bottom is to setup a variable called kindlePadding:

local kindlePadding = 0  
if system.getInfo("model") == "Kindle Fire" then  
 kindlePadding = 20  
end  

then whenever you position something near the bottom subtract the padding:

  
homeButton.y = display.contentHeight - 64 - kindlePadding  
  

So that way on everything else, the center of homeButton will be the bottom of the screen - 64 pixels. For the fire, it will be the bottom of the screen - 84 pixels.

[import]uid: 19626 topic_id: 30650 reply_id: 122848[/import]

Does anyone know yet if the release of the new Kindle fire HD’s will have the same height for this soft status bar?

I am fearing that the 1920x1200 Kindle Fire HD will have a different height on this status bar… and possible the 7" kindle fire with 1280x800 resolution might be different as well…

I am looking for specifications on the devices that may have this information but have not found it yet…

Has anyone else found it? [import]uid: 88147 topic_id: 30650 reply_id: 122920[/import]

See my reply in this thread for the link to specs, as well as status bar heights:
http://developer.coronalabs.com/forum/2012/09/06/kindle-fire-hd [import]uid: 81695 topic_id: 30650 reply_id: 122935[/import]

Just wanna add - display.statusBarHeight returning nil on Kindle Fire. [import]uid: 90911 topic_id: 30650 reply_id: 122786[/import]

Doesn’t look right to me… display.contentHeight represents the size of your view in “corona units” not pixels. Reducing 20 units is probably too much depending on what view size you have configured (I’m using 480x320)

So in this case every pixel is actual less than 0.5 display units. [import]uid: 80469 topic_id: 30650 reply_id: 122797[/import]

gtt - i have no idea what you talking about.

I have a Kindle Fire with me - and there my app dosent work as in simulator. And what I wrote - is true - just get Kindle and look for your self.

PS I guess, I dont care what dimensions you are using. I just wanna hear what Corona Devs thinks about that - and if they planing todo any fixes, workarounds, etc =) And devs without device - should be aware of this. [import]uid: 90911 topic_id: 30650 reply_id: 122801[/import]

The soft menu bar on the Kindle Fire is what it is. A pain in the behind. The Kindle Fire is a 1024x600 pixel device. That’s what the OS tells Corona is available. The “status bar” on the KF isn’t that soft menu bar, but the one at the top that shows the wifi signal, battery strength, etc. I’m not sure why the call to get info about it is returning nil, but it’s not talking about the bar at the bottom.

The best thing you can do is for elements position relative to the bottom is to setup a variable called kindlePadding:

local kindlePadding = 0  
if system.getInfo("model") == "Kindle Fire" then  
 kindlePadding = 20  
end  

then whenever you position something near the bottom subtract the padding:

  
homeButton.y = display.contentHeight - 64 - kindlePadding  
  

So that way on everything else, the center of homeButton will be the bottom of the screen - 64 pixels. For the fire, it will be the bottom of the screen - 84 pixels.

[import]uid: 19626 topic_id: 30650 reply_id: 122848[/import]

Does anyone know yet if the release of the new Kindle fire HD’s will have the same height for this soft status bar?

I am fearing that the 1920x1200 Kindle Fire HD will have a different height on this status bar… and possible the 7" kindle fire with 1280x800 resolution might be different as well…

I am looking for specifications on the devices that may have this information but have not found it yet…

Has anyone else found it? [import]uid: 88147 topic_id: 30650 reply_id: 122920[/import]

See my reply in this thread for the link to specs, as well as status bar heights:
http://developer.coronalabs.com/forum/2012/09/06/kindle-fire-hd [import]uid: 81695 topic_id: 30650 reply_id: 122935[/import]