It looks like a valid operator hostname. Keep in mind that a device has 
more than one network interface (cell, wifi, roam...).

This is the code that implements this feature 
https://github.com/codenameone/CodenameOne/blob/master/Ports/Android/src/com/codename1/impl/android/AndroidImplementation.java#L7373-L7396

You can try and fix it. Then submit a pull request 
https://www.codenameone.com/blog/how-to-use-the-codename-one-sources.html

Or you can use a native interface to get the result you want: 
https://www.codenameone.com/how-do-i---access-native-device-functionality-invoke-native-interfaces.html

-- 
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/cc1ec0be-60ff-4fdf-bc70-6fdc044b1c8a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to