Tuesday, December 13, 2011

[android-developers] getPixelFormat returning an incorrect value

HI,

I'm running this:

WindowManager wm =
(WindowManager)instance.getContext().getSystemService(Context.WINDOW_SERVICE);
AndroidUtils.debug("format:
"+wm.getDefaultDisplay().getPixelFormat());

... on a Galaxy Tab 7, and it outputs: format: 5

However, the value 5 has no correspondence in the PixelFormat table.

What does this value represents?

thanks

guich

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate