This is usually done on the server side where it is more reliable as the IP might be 192.168.* which will give you nothing.
-- 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/070e0558-8b7d-4bd8-b347-0928b35046c5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.