Re: [codenameone-discussions] Re: IOS native code using blocking I/O

2018-10-30 Thread Dave Dyer
Thanks, with _yield everything seems happy. FWIW, I've got a working UDP framework for android and ios. Not fully productized, but if you or some customer wants to run with it I'll happily pass it on. On Tuesday, October 30, 2018 at 10:16:39 AM UTC-7, Steve Hannah wrote: > > You do need to be

Re: [codenameone-discussions] Re: Screen distorted after viewing pdf

2018-10-30 Thread Gareth Murfin
Thanks Shai will let you know.. Love the new Android app by the way! will be great when it comes to ios too.. great for giving to clients. On Tue, 30 Oct 2018 at 04:48, Shai Almog wrote: > Try unlocking the orientation before launching the PDF then locking it > back after start is invoked

Re: [codenameone-discussions] Re: IOS native code using blocking I/O

2018-10-30 Thread Steve Hannah
You do need to be careful about locking the GC if you're blocking inside a native interface. Refer to the CN1Sockets cn1lib to see how you can work around this. https://github.com/shannah/CN1Sockets/blob/master/native/ios/ca_weblite_codename1_net_impl_NativeSocketImpl.m Notice the comments

[codenameone-discussions] Re: IOS native code using blocking I/O

2018-10-30 Thread Dave Dyer
One more bit about this; I noticed when running under xcode that memory usage keeps going up. I pauses the app and found the GC thread stuck at line 426 of codenameonegcmark. The comment near there says "wait for the thread to pause..." -- You received this message because you are

[codenameone-discussions] Re: Button or Image to an Table

2018-10-30 Thread tobias.semmet via CodenameOne Discussions
OK, thanks, got a solution, is it possible ;-) On Tuesday, October 30, 2018 at 4:31:37 PM UTC+1, tobias...@googlemail.com wrote: > > Hi, > > is it possible to add an image (instead of an text) to an Label on a Table > Cell, or better is it possible to add an button to a Table Cell ? > > Thanks

[codenameone-discussions] Button or Image to an Table

2018-10-30 Thread tobias.semmet via CodenameOne Discussions
Hi, is it possible to add an image (instead of an text) to an Label on a Table Cell, or better is it possible to add an button to a Table Cell ? Thanks for helping. Tobias -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To

[codenameone-discussions] Re: IOS native code using blocking I/O

2018-10-30 Thread Dave Dyer
I ran a thread that did nothing else except recv from a socket and store the results in a NSMutableArray, and the edt still got stuck somehow. Usually immediately. On Monday, October 29, 2018 at 9:53:56 PM UTC-7, Shai Almog wrote: > > That's not true. > What isn't allowed is blocking the EDT.