Horje
mobile network ip address permission android Code Example
mobile network ip address permission android
I used this and it workd !
WifiManager wm = (WifiManager) getSystemService(WIFI_SERVICE);
String ip = Formatter.formatIpAddress(wm.getConnectionInfo().getIpAddress());
Below permissions in the manifest file.
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>




Java

Related
Meditation for stress and depression Code Example Meditation for stress and depression Code Example
sort a list according to location Code Example sort a list according to location Code Example
how to write to a txt file in java in the end Code Example how to write to a txt file in java in the end Code Example
maximise the rides with the given tokens java Code Example maximise the rides with the given tokens java Code Example
interview questions on ds and algo Code Example interview questions on ds and algo Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10