Hi
override longPointerPress of Button as shown in below
Button longPressedButton = new Button(){
@Override
public void longPointerPress(int x, int y) {
// super.longPointerPress(x, y); //To change body of generated methods, choose Tools | Templates.
System.out.println(" long pointer pressed");
}
};