Ip address for android mobile device

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Ip address for android mobile device

Postby anurahim » Fri Apr 17, 2009 6:59 am

hi,
i am creating an application based on web service, to make some of the api calls i need to have 'IP address of the machine from which the request is sent', Is there anything like IP addres avilable for android mobile phones?

if not how can i get a solution for this?


thnks and regds
ANUR
anur
anurahim
Junior Developer
Junior Developer
 
Posts: 24
Joined: Fri Jun 27, 2008 11:26 am

Top

Postby WarrenFaith » Fri Apr 17, 2009 10:16 am

I would try to access a local apache with the emulator and check than the access logs. There you should find the IP of your emulator
WarrenFaith
Moderator
Moderator
 
Posts: 227
Joined: Fri Mar 13, 2009 10:59 am
Location: Berlin, Germany

emulator IP

Postby anurahim » Fri Apr 17, 2009 11:45 am

Hi , how can i get the device IP using java
anur
anurahim
Junior Developer
Junior Developer
 
Posts: 24
Joined: Fri Jun 27, 2008 11:26 am

Postby WarrenFaith » Fri Apr 17, 2009 1:28 pm

WarrenFaith
Moderator
Moderator
 
Posts: 227
Joined: Fri Mar 13, 2009 10:59 am
Location: Berlin, Germany

Postby anurahim » Tue Apr 21, 2009 6:22 am

anur
anurahim
Junior Developer
Junior Developer
 
Posts: 24
Joined: Fri Jun 27, 2008 11:26 am

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot], Majestic-12 [Bot] and 6 guests