Jason Yang Jason Yang - 1 month ago 34
Android Question

how to get capacitance value from android phone?

Current mobile device detects touch event via sensing the capacitance change caused by human finger.

Is there any methods that I can get the raw capacitance value?

It seems that the android API does not provide such interface, but how can I give this data directly from driver?

Answer

I did some research on internet and found an excellent tutorial here.

Based on this tutorial, I write some scripts to get and visualize raw capacitance data from Samsung Galaxy SII (i9100). The code is available on my github.

Hope this may help someone who needs to do the same thing.