List connected devices to Android phone working as WiFi Access point
问题 Is there a way in Android API to list connected devices, when Android phone is acting as WiFi router? And also is there a way to interefere with routed request to serve a welcome/login page? 回答1: This is an answer from another stackoverflow question, I read it before two month and don´t know from which user the answer is from, but this should work. WifiManager gives You what You need: Main.java import java.util.ArrayList; import android.app.Activity; import android.os.Bundle; import android