java - Putting a touch motions into variable -
i wanted put android touch motions of touching down, dragging, , lifting separate variables. goal use them in javascript in place of mouse movements ~ 'mousedown', 'mousemove', , 'mouseup'. why need them in variables in java send over. i'm new java don't know part. examples or appreciated. thanks!
this have, don't know , need other movements (up , down touches):
public boolean ontouch(view v, motionevent event) { return (event.getaction() == motionevent.action_move); } });
Comments
Post a Comment