About Android resolution devices

Hi.
How should I manage my code to support my images when I have to reach devices like Nexus One (whose resolution is 480x800px), Droid X (854x480px) and HTC Evo (480x800px)?

Is there some code like the “if(os.type == “android”)”? (do you get it? ^^)

Something like if(os.type == “android” and device.type == “nexusOne”) … [import]uid: 162818 topic_id: 29337 reply_id: 329337[/import]

On Corona this is very easy to do. Here is a good post by the dev team.

http://www.coronalabs.com/blog/2010/11/20/content-scaling-made-easy/ [import]uid: 164950 topic_id: 29337 reply_id: 117933[/import]