Hi,
suppose that I want to draw a rectangle on a canvas using
canvas.drawRect()...
Using JavaME If I want to make this shape clickable and touchable I need
to know the X,Y position of the shape in the canvas,
and then listen for the events that if corresponds to the correct X,Y where the rectangle is located, do something.
Is there a smarter way in android? Something that make 2D shape clickable without knowig every time
the X,Y position of the shape?
Thanks.



