Hi,
The following code would provide that for you
WindowManager wm =
(WindowManager)getSystemService(Context.WINDOW_SERVICE);
Display dsp = wm.getDefaultDisplay();
On Apr 13, 12:05 am, Bob <[email protected]> wrote:
> Hi,
> I need to know how many pixels wide and tall the screen is. I know
> that there are a bunch of different localization folders that I could
> make for different views but I just need to know, programmatically,
> how many pixels are on the screen so I can do some drawing. How can I
> detect this?
>
> Thanks,
> Bob
--
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
To unsubscribe, reply using "remove me" as the subject.