Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Is there a way to determine how hard is button pressed on touch screen? Maybe using accelerometer details.
MotionEvent.getPressure()で圧力を取得できます
注: 圧力、つまり指で触れたピクセルの量。
より多くのピクセルがカバーされるほど、タッチが強くなります。