title: Android Smooth Multi-touch Drawing
body: <p>I'm trying make a simple Drawing app. I'd like smooth finger drawing simple curves. And use multi-touch. I've following code:</p>
  
  <pre><code>@Override
  public void onDraw(Canvas canvas) {
      for (Path path : paths) {
          canvas.drawPath(path, paint);
      }
  }
  
  @Override
  public boolean onTouchEvent(MotionEvent event) {
      float xPos = event.getX();
      float yPos = event.getY();
  
      if (event.getAction() == MotionEvent.ACTION_DOWN)
      {
          path = new Path();
          path.moveTo(xPos, yPos);
      }
      else if (event.getAction() == MotionEvent.ACTION_MOVE)
      {
          path.lineTo(xPos, yPos);
                      paths.add(path);
      }
      else if (event.getAction() == MotionEvent.ACTION_UP)
      {
          path.lineTo(xPos, yPos);
                      paths.add(path);
      }
  
      invalidate();
  
      return true;
  }
  </code></pre>
  
  <p>Is where any other way? How can I draw by three fingers and nicely smooth?</p>