[codenameone-discussions] Re: When using the following code, my app freezes in simulator in netbeans

2018-10-22 Thread Shai Almog
Did you show the form eventually? If you don't show a form everything freezes. I suggest running in the debugger to see where the app execution stops. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and

[codenameone-discussions] Re: Is there a way to detect camera access denied?

2018-10-22 Thread Shai Almog
I think the barcode scan code should detect it and raise again the prompt or callback with an error response. Can you file an issue on that and we'll try to add that. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe fr

[codenameone-discussions] Re: NullPointerException in the app after generating the iOS certification

2018-10-22 Thread Shai Almog
Hi, I have a guess as to what is triggering this and made a minor fix. However, it seems your libraries are slightly out of date. Please go to Codename One Settings -> Basic -> Update Project Libs. After running that produce that exception again and provide the new stack trace. It should have di

[codenameone-discussions] Re: Suggestions for ImageViewer

2018-10-22 Thread Shai Almog
Hi, thanks. Feel free to file these as RFE's otherwise they'll get lost. If you want to get them done sooner you can just implement them and submit a pull request. ImageViewer is pretty standalone in the code and it should be easy to modify it. -- You received this message because you are su

[codenameone-discussions] When using the following code, my app freezes in simulator in netbeans

2018-10-22 Thread robherare
for (int ii = 0; ii <= 5; ii++){ agregaboton(" some "+ii); } private void agregaboton(String nombre){ MultiButton mio = new MultiButton(nombre); mio.addActionListener(e-> { System.out.println("hola"); }); this.add(FlowLay

[codenameone-discussions] Is there a way to detect camera access denied?

2018-10-22 Thread mcw
Today an iOS user contacted me to report that when he went to scan a barcode in my app, he got a black screen with the word Cancel in blue. He was confused. So was I for a while, until I figured out that somehow he had denied my app access to the camera. Is there any way to detect this situatio

[codenameone-discussions] NullPointerException in the app after generating the iOS certification

2018-10-22 Thread luispaulo_96
I'm having a problem with the NullPointerException after generating the iOS certification for the app I'm developing. The problem occurs when I click the hamburger menu or in another area in the simulator. The problem occurs in the simulator and on iOS (haven't tested on Android). The function

[codenameone-discussions] Suggestions for ImageViewer

2018-10-22 Thread Carlos Verdier
Hi I've been using ImageViewer lately for my project, and I would like to make some suggestions to improve it. I don't know if this is the right place or I should open an issue, or even a pull request. Anyway, my ideas are: - Add a method to programmatically pan the image to a specific locatio