touch macht druck
TRANSCRIPT
Android does pressure!(a look into problems I discovered when writing pressure sensitive applications)
actual situation
resitive touchscreens(e.g. ViewSonic Viewpad, Jay-tech, ...)
capacative touchscreens(e.g. Samsung Galaxy Nexus)
actual situation
resitive touchscreens(e.g. ViewSonic Viewpad, Jay-tech, ...)
capacative touchscreens(e.g. Samsung Galaxy Nexus)
capacative touchscreens with capacitive pens(e.g. Samsung Galaxy Note 10.1)
actual situation
resitive touchscreens(e.g. ViewSonic Viewpad, Jay-tech, ...)
capacative touchscreens(e.g. Samsung Galaxy Nexus)
capacative touchscreens withpressure sensitive pens
(e.g. Samsung Galaxy Note 10.1)
capacative touchscreens with capacitive pens(e.g. Samsung Galaxy Note 10.1)
Android touch APIs Ordinary touch events since API level 1
Getting touch directly dispatched on Views
Some APIs can decide if then take the touch or not!
Pressure available since Android API level 9 (2.3, 2.3.1, 2.3.2, Gingerbread!)
Android pressure APIs
public boolean onTouchEvent (final MotionEvent event)
MotionEvent
android.view.MotionEvent general touch (since API level 1) and multi touch methods (since API level 5), pressure data (since API level 5, enhanced since API level 9)
android.view.MotionEvent.PointerCoords information regarding the drawing tool (since API level 9)
android.view.MotionEvent.PointerProperties information regarding the drawing tool (since API level 14)