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
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
----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
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:
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@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
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
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
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('
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
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
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
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]
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,
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
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
16 matches
Mail list logo