Hello, I am a newbie android dev. I have a simple question, which may not be so simple to answer.
I `ll skip the onCreate initialization and will go directly:
I have this code:
Code:
public boolean onTouch(View v, MotionEvent event) {
		
		if ( event.getAction() == MotionEvent.ACTION_MOVE ||
			event.getAction() == MotionEvent.ACTION_DOWN ) {
			x.add(event.getX());
			y.add(event.getY());
			
			
		}
		return true;
	}
I won`t explain it, but here is my issue. When I call the onDraw function which is supposed to pain a pixel per coordinate drawn from the x and y ArrayLists, it is choppy, OK, not choppy but some ACTION_MOVE events coords are just not captured in the arrays. So instead of drwing a full line it paints some points in order depending how fast I am moving my finger.
So, here is the question - how to capture all events x and y coords without skipping them?