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

2018-10-30 Thread Steve Hannah
One thing I forgot to mention - though it should be clear from the code sample: Make sure you call _resume() after you're finished blocking. On Tue, Oct 30, 2018 at 1:59 PM Dave Dyer wrote: > > Thanks, with _yield everything seems happy. > > FWIW, I've got a working UDP framework for android an

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 c

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 again

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 about

[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 subscrib

[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 f

[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 unsubsc