Skip to content Skip to sidebar Skip to footer

Code Within Ontouchevent's Action_down Motionevent Throws Exception When I Call The Event

attempting to make an android game with a surface view that accepts touch events. it works perfectly until i actually touch the screen and the code within MotionEvent.ACTION_DOWN

Solution 1:

pntTouch is not initialize by you, try this:

privatePointpntTouch=newPoint();

Kudos to Hashir Sheikh!

Post a Comment for "Code Within Ontouchevent's Action_down Motionevent Throws Exception When I Call The Event"