[codenameone-discussions] Re: Get current IP address of device

2017-08-05 Thread Shai Almog
Currently we don't have such an API. It gets pretty hairy even in native Java SE/Android as you can see from the API calls above. It's worse since this can change dynamically as the user walks around... -- You received this message because you are subscribed to the Google Groups "CodenameOne

[codenameone-discussions] Re: Get current IP address of device

2017-08-04 Thread shop . service . assistant
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

[codenameone-discussions] Re: Get current IP address of device

2017-08-03 Thread Shai Almog
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

[codenameone-discussions] Re: Get current IP address of device

2017-08-03 Thread shop . service . assistant
com.codename1.io.Socket.getHostOrIP() on Android is now returning what appears to be an IPV6 address. "fe80::ce3a:61ff:fe06:7346%wlan0" Thoughts? On Sunday, July 9, 2017 at 11:41:54 AM UTC-4, Mark Bolduc wrote: > Thanks. > > > > Done. > > > > Regards > > Mark Bolduc > > > > *From:* Shai

[codenameone-discussions] RE: Get current IP address of device

2017-07-09 Thread Mark Bolduc
Thanks. Done. Regards Mark Bolduc From: Shai Almog [mailto:shai.al...@gmail.com] Sent: Sunday, July 09, 2017 12:46 AM To: CodenameOne Discussions Cc: t...@pixelsedge.ca; mark.bol...@comcast.net; shop.service.assist...@gmail.com Subject: Re: Get current IP address of device I

[codenameone-discussions] Re: Get current IP address of device

2017-07-08 Thread Shai Almog
I guess that means the fix failed in which case we'll need to re-examine it. Please file an issue in git. -- 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

[codenameone-discussions] Re: Get current IP address of device

2017-07-08 Thread shop . service . assistant
I have tested this today: deviceIP.setText(com.codename1.io.Socket.getHostOrIP()); is returning "localhost" Should be returningthe 192.168.1.114 IP address assigned to the wireless network. Thoughts? On Wednesday, July 5, 2017 at 8:41:23 AM UTC-4, shop.servic...@gmail.com wrote: > Thanks. > >

[codenameone-discussions] Re: Get current IP address of device

2017-07-05 Thread shop . service . assistant
Thanks. On Wednesday, July 5, 2017 at 12:13:36 AM UTC-4, Shai Almog wrote: > > Seamlessly. > When you send a build a new version will be used and you will receive > updated libraries. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions"

[codenameone-discussions] Re: Get current IP address of device

2017-07-03 Thread Shai Almog
Check out the git project. I already committed it yesterday. It should be up by Friday. -- 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] Re: Get current IP address of device

2017-07-03 Thread shop . service . assistant
Thanks, No Pressure, roughly can we expect this update? On Monday, July 3, 2017 at 12:58:14 AM UTC-4, Shai Almog wrote: > OK, I see an issue. We'll fix it for the next update > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To

[codenameone-discussions] Re: Get current IP address of device

2017-07-02 Thread Shai Almog
OK, I see an issue. We'll fix it for the next update -- 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] Re: Get current IP address of device

2017-07-01 Thread mark . bolduc
I have run com.codename1.io.Socket.getHostOrIP() on Galaxy 4 and getting (localhost 127.0.0.1) back I need the IP address assigned to my wifi connection like 192.168.1.123 Please advise. On Tuesday, February 17, 2015 at 2:36:01 PM UTC-5, t...@pixelsedge.ca wrote: > Awesome! Thats exactly what