Code example for Canvas

Methods: drawBitmapdrawCircledrawPath

	protected void onDraw(Canvas canvas) {
		if (bitmap != null) {
			canvas.drawBitmap(bitmap, new Matrix(), null);
		canvas.drawPath(path, paint);
		canvas.drawCircle((float) point.x, (float) point.y, 100, paint);
	public boolean onTouchEvent(MotionEvent event) {
		float x = event.getX();
		float y = event.getY();
		switch (event.getAction()) {
		case MotionEvent.ACTION_DOWN:
			path.moveTo(x, y);
			point.set((int) x, (int) y);
			return true; 
Connect your IDE to all the code out there  Get Codota for Java