android.content.res.Configuration contains a touchscreen value, which can be TOUCHSCREEN_STYLUS (= resistive), TOUCHSCREEN_FINGER (= capacitive), TOUCHSCREEN_NOTOUCH (= no touch screen), TOUCHSCREEN_UNDEFINED (= uh oh).
EDIT: I got Dianne'd again :) So, on the bottom line, there seems to be no way to get the real physical properties of the screen. I think your best bet is to set a parameter that allows users to switch between the two modes.
EboMike
source share