The best content resolution to include in config.lua

Most of the sample code I see uses the Content values as seen in the code snippet below. Since Apple products are not that low and supported Android platforms have been changed to filter out all the lowend phones, does it make sense to use such a low resolution?

In my case, I want as little upscaling as possible in my app. Apple is easier since there are so few resolutions but for Android I’ve been thinking that 480 x 800 pixels would be a good base size.

Am I on the right track here or am I missing something? Thanks for any feedback.
—CODE SNIPPET—

content =
{
width = 320,
height = 480,
scale = “letterbox”
},
[import]uid: 40031 topic_id: 24527 reply_id: 324527[/import]

I like to use 640x960 for my apps, because very, very few of Apple’s iOS devices have a resolution of 320x480. However, I am an iOS only developer, so I don’t know about the best practices for android. [import]uid: 38000 topic_id: 24527 reply_id: 99284[/import]

I agree with Blue Spruce Games… the “norm” for iOS devices is now 640x960 (iPhone4) or 768x1024 (iPad 1&2). Fewer and fewer “old” devices exist in the market, and it will continue to decline. From Corona’s config.lua standpoint, it doesn’t matter if you start low and scale up, or start high/mid and scale in both directions. I just personally find it easier to design and code an app with the most likely target resolution in mind.

Brent Sorrentino [import]uid: 9747 topic_id: 24527 reply_id: 99298[/import]

The problem with scaling down is simply that you can specify pixels that don’t exist.

Say you’ve positioned an object at x=451 with a 960x640 config.lua. Now load that on an older iOS device: it will try to place it at 225.5, which does not exist, and therefore it will have to round.

You’re giving yourself three choices (450, 451, 452) when only two will actually exist on some devices (225, 226). Better to scale up and let any discrepancies be handled uniformly.

Imo, it’s best to target your lowest major resolution. Keep in mind that the 3GS is still for sale and remains an extremely popular phone. It will also run at least through 5.x so it’ll be around for a while still. [import]uid: 87138 topic_id: 24527 reply_id: 99317[/import]