[android-developers] Re: Wifi Ip Address

2008-12-08 Thread David Turner
Also, generally speaking, you can use address 0.0.0.0 to accept connections from any network interface without having to worry about the difference between the GSM and Wifi channels On Mon, Dec 8, 2008 at 8:49 PM, David Turner <[EMAIL PROTECTED]> wrote: > FYI the emulator doesn't simulate wifi, s

[android-developers] Re: Wifi Ip Address

2008-12-08 Thread David Turner
FYI the emulator doesn't simulate wifi, so all you have is an emulated GPRS/EDGE/3G connection. On Wed, Dec 3, 2008 at 7:12 AM, Andrea <[EMAIL PROTECTED]> wrote: > > Marcio: Yeah, that is what i am looking for, but on the emulator > info.ipAddress returns 0. I hope on a real device it returns the

[android-developers] Re: Wifi Ip Address

2008-12-08 Thread Xavier Mathews
----Original Message- >> From: android-developers@googlegroups.com >> >> [mailto:[EMAIL PROTECTED] On Behalf Of Andrea >> Sent: Monday, December 01, 2008 19:43 >> To: Android Developers >> Subject: [android-developers] Re: Wifi Ip Address >> >&g

[android-developers] Re: Wifi Ip Address

2008-12-08 Thread androidfromCordoba
L PROTECTED] >  marcioalexandroni > > > > -Original Message- > From: android-developers@googlegroups.com > > [mailto:[EMAIL PROTECTED] On Behalf Of Andrea > Sent: Monday, December 01, 2008 19:43 > To: Android Developers > Subject: [android-developers] Re:

[android-developers] Re: Wifi Ip Address

2008-12-08 Thread androidfromCordoba
w.cialogica.com > w  Tel. 55 11 3717-2345 >    Cel. 55 11 9989-8316 > [EMAIL PROTECTED] >  marcioalexandroni > > > > -Original Message- > From: android-developers@googlegroups.com > > [mailto:[EMAIL PROTECTED] On Behalf Of Andrea > Sent: Monday, December 01, 2008 19

[android-developers] Re: Wifi Ip Address

2008-12-03 Thread Marcio Alexandroni
: android-developers@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrea Sent: Wednesday, December 03, 2008 13:13 To: Android Developers Subject: [android-developers] Re: Wifi Ip Address Marcio: Yeah, that is what i am looking for, but on the emulator info.ipAddress returns 0. I hope on a

[android-developers] Re: Wifi Ip Address

2008-12-03 Thread Andrea
Marcio: Yeah, that is what i am looking for, but on the emulator info.ipAddress returns 0. I hope on a real device it returns the actual ipAddress. I don't have one to test! thanks to all. Andrea On Dec 3, 2:57 pm, "Marcio Alexandroni" <[EMAIL PROTECTED]> wrote: > Would it be: > >         WiFiMa

[android-developers] Re: Wifi Ip Address

2008-12-03 Thread Marcio Alexandroni
droid Developers Subject: [android-developers] Re: Wifi Ip Address Xavier: I don't want to change the ip. I want only to know the ip that is assigned to the NIC of the phone. Ed: Sure, but showipaddress.com shows only the ip with which you go out on the Internet: for example you could be co

[android-developers] Re: Wifi Ip Address

2008-12-02 Thread Jason Parekh
You can use WifiManager.getConnectionInfo().getIpAddress(). You can convert this to a String with: private static String ipAddressToString(int addr) { StringBuffer buf = new StringBuffer(); buf.append(addr & 0xff).append('.'). append((addr >>>= 8) & 0xff).append('

[android-developers] Re: Wifi Ip Address

2008-12-02 Thread Andrea
Ralf: Yes, I need to know it programmatically because I have to accept incoming connections on my phone. On Dec 2, 7:11 pm, Ralf <[EMAIL PROTECTED]> wrote: > On the device, go to the wifi settings and select the connected wifi > network. It will show you its IP address. > > If you mean programmat

[android-developers] Re: Wifi Ip Address

2008-12-02 Thread Ralf
On the device, go to the wifi settings and select the connected wifi network. It will show you its IP address. If you mean programmatically, sorry, I do not know. R/ On Mon, Dec 1, 2008 at 2:49 AM, Andrea <[EMAIL PROTECTED]> wrote: > > How can I get the Ip address assigned by a WiFi network to

[android-developers] Re: Wifi Ip Address

2008-12-01 Thread Andrea
Xavier: I don't want to change the ip. I want only to know the ip that is assigned to the NIC of the phone. Ed: Sure, but showipaddress.com shows only the ip with which you go out on the Internet: for example you could be connected to Internet behind NAT. I try to explain better my problem: I'm

[android-developers] Re: Wifi Ip Address

2008-12-01 Thread Andrea
Yes, the ip address that the dhcp server of a wifi net assigns to my device. Xavier Mathews wrote: > IP Address? > > Xavier A. Mathews > Student/Browser Specialist/Developer/Web-Master > Google Group Client Based Tech Support Specialist > Hazel Crest Illinois > [EMAIL PROTECTED]@[EMAIL PROTECTED]

[android-developers] Re: Wifi Ip Address

2008-12-01 Thread Xavier Mathews
I am nt sure you can change it. Which IP? Xavier A. Mathews Student/Browser Specialist/Developer/Web-Master Google Group Client Based Tech Support Specialist Hazel Crest Illinois [EMAIL PROTECTED]@[EMAIL PROTECTED] "Fear of a name, only increases fear of the thing itself." On Mon, Dec 1,

[android-developers] Re: Wifi Ip Address

2008-12-01 Thread Ed
You could use the browser to access sites like http://www.showipaddress.com/ On Dec 1, 12:18 pm, Andrea <[EMAIL PROTECTED]> wrote: > Yes, the ip address that the dhcp server of a wifi net assigns to my > device. > > Xavier Mathews wrote: > > IP Address? > > > Xavier A. Mathews > > Student/Browser

[android-developers] Re: Wifi Ip Address

2008-12-01 Thread Xavier Mathews
IP Address? Xavier A. Mathews Student/Browser Specialist/Developer/Web-Master Google Group Client Based Tech Support Specialist Hazel Crest Illinois [EMAIL PROTECTED]@[EMAIL PROTECTED] "Fear of a name, only increases fear of the thing itself." On Mon, Dec 1, 2008 at 4:49 AM, Andrea <[EMA