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

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -