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.
AHHHHR!

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 [email protected].
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.

Reply via email to