get touch working on Android
get touch working on Android

The patch is based on the work by @kozmad. It unifies the Android and
iOS implementation to avoid code duplication. I've only tested this
on an iPad, but it should also work on Android.

Traksewt/pv,biasmv/pv,biasmv/pv,Traksewt/pv,biasmv/pv,CyrusBiotechnology/pv,yuhangwang/pv,CyrusBiotechnology/pv,CyrusBiotechnology/pv,yuhangwang/pv,Traksewt/pv,yuhangwang/pv,Traksewt/pv,yuhangwang/pv,CyrusBiotechnology/pv,biasmv/pv