Hi All,
Does anyone know if it's possible to use Multitouch on an Android 1.5 device?
I have a HTC Hero, and it's still running 1.5 (HTC have been a little slow on getting the 2.1 ROM out).
The Android MotionEvent documentation shows the constants (ACTION_POINTER_1_DOWN, ACTION_POINTER_1_UP.....etc...) I need to implement multitouch as only avaliable from API 5 :(
Is there a way round this other then waiting for HTC to get the update out or buying a 2.1 handset?
Code Snippet:
public boolean onTouchEvent (MotionEvent event) {
//TODO: determine if the event object is an ACTION_POINTER_DOWN etc...
//for ACTOIN_DOWN it is
if(event.getAction() == MotionEvent.ACTION_DOWN) {
//do something here.....
}
}