What simulator resolution should I use when developing app for Samsung galaxy s2 and galaxy s3?

From what I found, Samsung galaxy s2 has 480x800 resolution and s3 has 1280x720 resolution. So I believe I should ask my graphics designer to provide me hdpi graphics that contain 480x800 background images and to implement same background image in galaxy s3 mobile. Can I use image of size 1280x720 and put it in xhdpi folder so that it can work on s3.

The background image is something which covers whole available area for mobile app. so am I right in this approach ??

Answers


Why don't design in both resolutions? See http://developer.android.com/guide/practices/screens_support.html for more detailed.


You should read Supporting multiple screens. You must define dpi on your emulator. 240 is hdpi, 160 is mdpi and below that are usually ldpi.

Extract from Android Developer Guide link above:

320dp: a typical phone screen (240x320 ldpi, 320x480 mdpi, 480x800 hdpi, etc). 480dp: a tweener tablet like the Streak (480x800 mdpi). 600dp: a 7” tablet (600x1024 mdpi). 720dp: a 10” tablet (720x1280 mdpi, 800x1280 mdpi, etc).


Need Your Help

VS2010 Crystal Reports: How do I set the logging level?

c# visual-studio-2010 crystal-reports log4net

Since log4net is shipped with CR for VS2010, it stands to reason that stuff is logged. How do I set the CR log level to debug so I can figure out what's going on with my report?

Element floating right instead of left with css

html css css-float

I am trying to get these elements floated in the right direction. Box1, Box2 are floated left while Box3 is floated right. Then below that I am trying to get homeBlog floated left an align under Box1