Hi all,

I am trying to make a script that corrects the display density
(ro.sf.lcd_density) according to the kind of display that is attached
my android development board.
So if the attached LCD native res is 1920x1080 I want the display
density to be of certain value, and if the LCD res is 1300x1000 I want
that value to be different.

My question is:
Can a programmatic detection of LCD native resolution be done at all?
If so, how should I do it? I've been researching the framebuffer. (/
dev/graphics/fb0) Am I in the right track?


Thanks a lot!

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to