How do I implement an image button in BlackBerry?
easiest way to do that:
step 1:draw a image with specific coordinates(imageX,imageY). step 2:add a method in your Code:
void pointerControl(int x, int y) {
if (x>imageX && ximageY && y < imageY+imageName.getHeight) {
//to do code here
}
}
where imageName:name of image
imageX=x coordinate of image(Top-Left)
imageY=y coordinate of image(Top-Left)