Android application Wi-Fi device - AP connectivity

后端 未结 3 1828
Happy的楠姐
Happy的楠姐 2020-12-04 11:49

I am building an application which can transfer data between a mobile and a Wi-Fi device... The mobile has got the AP enabled (through code) and another device connects to t

3条回答
  •  粉色の甜心
    2020-12-04 12:16

    You can use accesspoint:

    WifiApControl apControl = WifiApControl.getInstance(context);
    
    // These are cached and may no longer be connected, see
    // WifiApControl.getReachableClients(int, ReachableClientListener)
    List clients = apControl.getClients()
    

提交回复
热议问题