Android - BroadcastReceiver EXTRA_SUPPLICANT_ERROR missing -


i have broadcastreceiver:

private broadcastreceiver broadcastreceiverwifi = new broadcastreceiver() {         @override         public void onreceive(context context, intent intent) {             if (intent.getaction() == wifimanager.supplicant_state_changed_action) {                 int error = intent.getintextra(wifimanager.extra_supplicant_error, -1);  } 

in android 4.1.2, 4.4.2 works in android 4.0.3 return -1 (when passwork wrong)


Comments

Popular posts from this blog

python - argument must be rect style object - Pygame -

webrtc - Which ICE candidate am I using and why? -

c# - Better 64-bit byte array hash -