Wifi 扫描 Resultandroid.net.wifi.WifiManager@4249dfb0
Wifi Scan Resultandroid.net.wifi.WifiManager@4249dfb0
当我调试我的 android 工作室项目时,它正在
Wifi 扫描 Resultandroid.net.wifi.WifiManager@4249dfb0
我应该怎么做才能纠正它?我的 android 代码如下
public class WifiService extends Service implements BluetoothDeviceListener,WiFiDeviceListener{
public WifiService() {
}
@Override
public IBinder onBind(Intent intent) {
// TODO: Return the communication channel to the service.
BLEManager bleManager= new BLEManager(this);
bleManager.scanLeDevice(25,25);
//bleManager.stopLeDeviceScan();
WiFiManager wiFiManager= new WiFiManager(this);
wiFiManager.scanWiFiDevice(25,25);
//wiFiManager.stopWiFiScan();
throw new UnsupportedOperationException("Not yet implemented");
}
@Override
public void onLeDeviceDiscovered(ArrayList<BluetoothDevice> deviceList) {
System.out.println("bluetooth enable notifications");
}
@Override
public void onWiFiDeviceDiscovered(ArrayList<WirelessFiDevice> deviceList) {
System.out.println("wifi enable notifications");
}
}
代码如下
public class WifiService 扩展服务实现 BluetoothDeviceListener,WiFiDeviceListener{
public WifiService() {
}
@Override
public void onCreate() {
BLEManager bleManager= new BLEManager(this);
bleManager.scanLeDevice(25,25);
//bleManager.stopLeDeviceScan();
WiFiManager wiFiManager= new WiFiManager(this);
wiFiManager.scanWiFiDevice(25,25);
//wiFiManager.stopWiFiScan();
}
@Override
public IBinder onBind(Intent 意图) {
// TODO: Return the communication channel to the service.
throw new UnsupportedOperationException("Not yet implemented");
}
@Override
public void onLeDeviceDiscovered(ArrayList deviceList) {
System.out.println("bluetooth enable notifications");
}
@Override
public void onWiFiDeviceDiscovered(ArrayList deviceList) {
System.out.println("wifi enable notifications");
}
}
当我调试我的 android 工作室项目时,它正在 Wifi 扫描 Resultandroid.net.wifi.WifiManager@4249dfb0 我应该怎么做才能纠正它?我的 android 代码如下
public class WifiService extends Service implements BluetoothDeviceListener,WiFiDeviceListener{
public WifiService() {
}
@Override
public IBinder onBind(Intent intent) {
// TODO: Return the communication channel to the service.
BLEManager bleManager= new BLEManager(this);
bleManager.scanLeDevice(25,25);
//bleManager.stopLeDeviceScan();
WiFiManager wiFiManager= new WiFiManager(this);
wiFiManager.scanWiFiDevice(25,25);
//wiFiManager.stopWiFiScan();
throw new UnsupportedOperationException("Not yet implemented");
}
@Override
public void onLeDeviceDiscovered(ArrayList<BluetoothDevice> deviceList) {
System.out.println("bluetooth enable notifications");
}
@Override
public void onWiFiDeviceDiscovered(ArrayList<WirelessFiDevice> deviceList) {
System.out.println("wifi enable notifications");
}
}
代码如下
public class WifiService 扩展服务实现 BluetoothDeviceListener,WiFiDeviceListener{
public WifiService() { }
@Override
public void onCreate() {
BLEManager bleManager= new BLEManager(this);
bleManager.scanLeDevice(25,25);
//bleManager.stopLeDeviceScan();
WiFiManager wiFiManager= new WiFiManager(this);
wiFiManager.scanWiFiDevice(25,25);
//wiFiManager.stopWiFiScan();
}
@Override
public IBinder onBind(Intent 意图) {
// TODO: Return the communication channel to the service.
throw new UnsupportedOperationException("Not yet implemented");
}
@Override
public void onLeDeviceDiscovered(ArrayList deviceList) {
System.out.println("bluetooth enable notifications");
}
@Override
public void onWiFiDeviceDiscovered(ArrayList deviceList) {
System.out.println("wifi enable notifications");
}
}