Wednesday, December 18, 2013

Get IP Address of Host in ANDROID







1 ) First In androidmanifest.xml file give the permission of internet given below : 

    <uses-permission android:name="android.permission.INTERNET"></uses-permission>

2) Go to res/layout/main.xml : 
  

3 ) Go to Acitivity :-