Thanks, I would prefer to use all Codenameone generic interfaces/translations so I don't lock myself into a specific device/OS
Can we get the enumeration of all interfaces and decide which ones we want? Curious, I don't even know what to do with this return string "fe80::ce3a:61ff:fe06:7346%wlan0". Is there a way to translate this to an xxx.xxx.xxx.xxx net address? On Friday, August 4, 2017 at 1:56:57 AM UTC-4, Shai Almog wrote: > 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/74c57b3b-7435-41a7-a5bf-63d8f163370e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
