开发者

android: pixel Depth of device

I'd like to know if it's possible to get the pixel depth (number of colours) of a device. with DisplayMetrics it is possible to know the resolution...

DisplayMetrics metrics = new DisplayMetrics();
getWindowManager().getDefaultDisplay().getMetrics(metrics);

But where can I find the p开发者_如何学JAVAixel depth ?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜