Get IP Address of Host in ANDROID

09:42:00 Dhaval Sodha Parmar 0 Comments







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 :- 



0 comments: