[codenameone-discussions] Re: null returned by NetworkManager in getCurrentAccessPoint() and build server.
Thanks. So, if I want to test the connectivity, there is a specific class to use? I can ping a site, using the autodetectedURL "aka google", so testing - in fact - that I'm able to achieve a connection. But how I can test how the framework determine my connection? I want to - for example - block connection if I'm going on mobile data, and not if I'm wifi. Excuse the english, I'm try my best. AR! On Friday, October 21, 2016 at 2:48:19 AM UTC+2, Shai Almog wrote: > > Hi, > getCurrentAccessPoint() can return null based on the API contract. > > I would suggest avoiding that API altogether as it's pretty low level and > requires device permissions you don't normally want to grant. > -- 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+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/25e00fe9-429d-4f4c-8283-ae8c8acebcb1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] null returned by NetworkManager in getCurrentAccessPoint() and build server.
Hi. I've got a null returned by this method. It is supposed to get some String. So, i cannot test if I'm connected, and on which source. Look file cattura0, then file cattura. How it works? It it implemented in the build server via a CodenameOneImplementation? So, in the class Display there is a reference to a CodenameOneImplementationFactory, but this is not currently imported... So, basically it not exist, it is also injected in the build server (See cattura2)? In the bless of the Greatest FSM. Ramen. // Platform IDE: IDEA Desktop OS: Windows 10 anniversary Simulator: Bundled with the plugin Device: My laptop -- 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+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/9c3c11fd-e3af-4d67-9a2f-8e3f0e25c737%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[codenameone-discussions] Exception in thread "main" java.lang.NoClassDefFoundError: com/codename1/io/ConnectionRequest
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Desktop OS Simulator Device As title, using IntelliJ IDEA. I run a codename one project and have Exception in thread "main" java.lang.NoClassDefFoundError: com/codename1/io/ConnectionRequest, have I to setup a specifica SDK? -- 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+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/67718f23-b7e0-4da3-8098-d7a9b5104cb0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.