Re: [codenameone-discussions] Re: Trying to use third party lib (PubNub) to handle messaging

2019-04-10 Thread Steve Hannah
There is also a WebSocket sample in the SampleRunner https://github.com/codenameone/CodenameOne/tree/master/Samples The sample (a chat app), should run out of the box. Just download the CN1 sources, open the Sample Runner (instructions at link above), and click "Launch" next to the

[codenameone-discussions] Re: AutoCompleteTextField NullPointerException

2019-04-10 Thread Shai Almog
Did you remove the auto-complete component (or one of its parents) from the form dynamically? -- 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: Trying to use third party lib (PubNub) to handle messaging

2019-04-10 Thread Shai Almog
Here: https://github.com/shannah/cn1-websockets/ -- 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] AutoCompleteTextField NullPointerException

2019-04-10 Thread shop . service . assistant
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA NetBeans 8.2 Desktop OS Windws 10 Pro Simulator Latest Device PC, IOS 12+ Android 6+ [EDT] 0:2:35,975 - Exception: java.lang.NullPointerException - null

[codenameone-discussions] Re: how to render TextArea or textField to vary font and color within the body of text

2019-04-10 Thread Dave Dyer
Text is an interface that mostly mimics strings, but it's part of a group of interfaces I use to build my GUIs, not something you could just pull out and plug into your applications. You have to take the whole village, and I haven't engineered the villiage for export and general use. The

[codenameone-discussions] Re: Trying to use third party lib (PubNub) to handle messaging

2019-04-10 Thread greensoter
Where can I get the Websockets document and sample code? Then I can implement in my app as well, thanks! On Wednesday, April 10, 2019 at 6:36:58 AM UTC+2, Shai Almog wrote: > > Hi, > I think pubnub cut support for older libraries they implemented. I haven't > paid much attention since

[codenameone-discussions] Re: how to render TextArea or textField to vary font and color within the body of text

2019-04-10 Thread shop . service . assistant
Can you share the "text" Object and some examples of use? It would be great if I were able to use mixed text fonts colors and icons. Thanks in advance, Regards. On Wednesday, April 10, 2019 at 12:44:39 AM UTC-4, Shai Almog wrote: > > You have two options. Either native HTML or do it yourself.

[codenameone-discussions] Re: Generate XML file with XMLWriter

2019-04-10 Thread pythoudk
Yes it works. But how to generate XML file and write tag into with XMLWriter ? With my code and toXML() method, that isn't work. On Tuesday, April 9, 2019 at 8:46:18 PM UTC+2, pyth...@gmail.com wrote: > > Hi, > I have some problems to generate an XML file, the file is created but the > root