What do I need to do to get my app working properly on the Kindle Fire. The only issue I have is that my display images are partially obscured by the 20px menu bar that the Kindle Fire forces on us.
I tried changing the values in my config.lua to use:
if ( system.getInfo("model") == "Kindle Fire" ) then
application =
{
content =
{
width = 580, -- was 600
height = 1024,
scale = "letterbox",
}
}
end
This just tells the Corona SDK that I want to use 580 instead of 600, but it doesn’t stop Corona from stretching everything to fill the screen.
What do we need to do to only use 580 pixels? I am guessing we just don’t scale our full screen images to 600x1024, but instead scale them to 580x1024. But this approach also means that I have to change EVERYPLACE in my app where I use Center reference and change it to use Top alignment instead.
Ideally the viewableContentHeight or viewableContentWidth would take this into account, but it doesn’t.
This seems like a huge hack for all developers that we shouldn’t have to deal with because Corona should know the available display area is 20px less than the physical screen size.
Since Corona doesn’t take care of this for us, I guess we have to hack our code. So to anyone who has already released a Kindle Fire product what approach did you take to minimize the code changes and still restrict drawing to what we should actually use. [import]uid: 16734 topic_id: 19317 reply_id: 319317[/import]