[codenameone-discussions] is there a longpress event for button click

2017-01-25 Thread CODENAME1
in the button click action , event.islognpress() always returns true. is the button.longress functionality supported? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it,

Re: [codenameone-discussions] Re: USB Serial Communication

2017-01-25 Thread ramalho . david
Hello Shai, Thank you so much for your help. I was finally able to make it work. Now I have an app developed with Codename1 communicating with other devices, such as Arduino, through USB with serial communication. If you think it's interesting I can prepare a sample so it can be shared with

Re: [codenameone-discussions] Re: USB Serial Communication

2017-01-25 Thread Shai Almog
Hi, I'm sure that would be interesting to some developers. If you can convert it to a cn1lib I can walk you thru the steps of doing that and submitting it to our extensions UI via a pull request: http://github.com/codenameone/CodenameOneLibs/ -- You received this message because you are

[codenameone-discussions] Re: is there a longpress event for button click

2017-01-25 Thread shyam tha
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.