Hi!

I am debugging my game directly on the device (Nexus One), so the
width and height of the screen should NEVER change, am I right?

When I start

DisplayMetrics dm = new DisplayMetrics();
getWindowManager().getDefaultDisplay().getMetrics(dm);
System.out.println(dm.widthPixels+" "+dm.heightPixels);

with android:targetSdkVersion="3" in the AndroidManifest.xml i get
different values than with android:targetSdkVersion="8".
How can this be?

Greetings, Martin

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to