How to draw circle when Tab event is fired
<p>I am learning android Live wallpaper development. I found an awesome template in the <a href="http://www.andengine.org/forums/tutorials/live-wallpaper-template-t258.html" rel="nofollow">AndEngine Forums</a>
In this template I found an overridable method OnTab which provides 2 parameters i.e x coordintate &amp; y coordinate .</p>

<pre><code>   protected void onTap(final int pX, final int pY)
{
    SurfaceHolder holder= //Get current surface holder object
    Paint paint = new Paint();
    Canvas canvas= holder.lockCanvas();
    paint.setColor(Color.WHITE);
    canvas.drawCircle(20, 50, 25, paint);
}
</code></pre>

<p>I want to draw a circle when user tabs or touches the screen but i am finding it difficult to get the sufaceholder object which will let me draw a circle on the canvas Or can i achieve this some other way?</p>
