[codenameone-discussions] Show message on display while calling MultipartRequest

2018-10-18 Thread tobias.semmet via CodenameOne Discussions
Hi, how can i send a message on the display while the app is receiving data from server. Does someone knwos an example ? Thanks Tobias IDE: Eclipse Windows Simulator IOs / Andorid Device IOs / Andorid -- You received this message because you are subscribed to the Google Groups "CodenameOne

[codenameone-discussions] Passing a reference of a NativeInterface instance as parametter of another NativeInterface method?

2018-10-18 Thread Thomas
I wonder if there is a way to pass a NativeInterface object instance as parametter of the method of another NativeInterface. I mean when I create two objects that extends NativeInterface like this: NativeObjectType1 o1 = (NativeObjectType1 ) NativeLookup.create( NativeObjectType1 .class);

[codenameone-discussions] Re: iOS 12.0.1 and Barcode scanning

2018-10-18 Thread mcw
Just downgraded my iPod Touch to iOS 12.0 and barcode scanning is working again. So it looks as though the 12.0.1 update triggered this On Thursday, October 18, 2018 at 2:38:09 PM UTC-7, mcw wrote: > > My iPod Touch was just updated to 12.0.1 and now I can no longer scan a > barcode. When I hit

[codenameone-discussions] iOS 12.0.1 and Barcode scanning

2018-10-18 Thread mcw
My iPod Touch was just updated to 12.0.1 and now I can no longer scan a barcode. When I hit my scan button, the app crashes. Is this a known issue? At least I think it is crashing, I end back on te home screen but I am not getting any log packages from you. Barcode scanning continues to work

[codenameone-discussions] Obtain the model and operating system version

2018-10-18 Thread josuegustavohernandezvilla
Hi. I need to get the model and version of the operating system of the devices (iOS, AND) Look in previous topics that were quite old where they could not provide it. For example, try an app in a MotoG Version Android 5.0 and in a Samsung Galaxy Android 8.0 and there were differences in how

[codenameone-discussions] Re: Passing a reference of a NativeInterface instance as parametter of another NativeInterface method?

2018-10-18 Thread Thomas
OK Thanks. As for the ByteBuffer I completely agree yes ;) (It is the basis of the binary messages solution chosen by Flutter to communicate between flutter dart code and native one and it is SO convenient and powerfull to work with that I also regret not having such an easy solution in CN1

[codenameone-discussions] Re: Passing a reference of a NativeInterface instance as parametter of another NativeInterface method?

2018-10-18 Thread Shai Almog
It hasn't been implemented, it would have been nice but it's a lot of work since every change in this part of the code needs to be done for every port. It also needs to be replicated in the code generation and the backend generation logic. There are multiple points of failure and pain so we try

[codenameone-discussions] Re: Show message on display while calling MultipartRequest

2018-10-18 Thread Shai Almog
Hi, you can show any UI e.g. a dialog and dispose it when download is done e.g. Dialog progress = new Dialog("Downloading", BoxLayout.y()); progress.add(new SpanLabel("Downloading from the server please wait...", "DialogBody"); progress.showModless(); boolean success =

[codenameone-discussions] Re: iOS 12.0.1 and Barcode scanning

2018-10-18 Thread Shai Almog
It's an unknown issue. Please file a bug report and we'll try to reproduce this. -- 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, send an email to

[codenameone-discussions] Re: Obtain the model and operating system version

2018-10-18 Thread Shai Almog
Hi, getProperty in display provides you with OS, model string etc. See the docs for the various types of models. This should be enough for most use cases including yours. If you really want to dig into this you can use the device detection cn1lib contributed by Diamond