Originally Posted by elesbb
whats wrong with using getSize()? I never knew the new touch screens handled pressure. That was an older style touch screen that could do that. I would just use getSize()
Thank you for the reply.
In my understanding, getPressure resturns the approximate "pressure" (by software sensor) on the screen surface, while getSize returns some approximation of the "area" of the screen being pressed. I think pressure and area are correlated, but according to my experiment on Galaxy Nexus, the returned value of getPressure and getSize are not linearly dependent. So getSize can't replace getPressure, am I right?
BTW, I am doing a research on Android devices which requires to get the pressure value on the screen. Can someone tell me how the pressure value is caculated (maybe by other sensor value)? I searched but can't find conresponding documents.