Android code sample: Networking

Scan Devices IP connected in WiFi network

Example to scan connected devices within the same WiFi network, using InetAddress.isReachable(). package com.blogspot.android_er.androidwireless; import android.content.Context; import android.net.wifi.WifiManager; import android.os.AsyncTask; import …

Get ssid of connected network and my IP address

Android example code to get ssid and IP address, using WifiInfo. Tested on Samsung Galaxy A9, running Android 6.0.1. Wifi enabled and connected Wifi disabled MainActivity.java package com.blogspot.android_er.androidwireless; import android.content.Con…

Load More
That is All