Android - BroadcastReceiver not calling -
Android - BroadcastReceiver not calling -
when register broadcast receiver, onreceive
not called. here code
@override public void onuserinteraction() { super.onuserinteraction(); intentfilter filter = new intentfilter(); registerreceiver(mbroadcastreceiver, filter); } private broadcastreceiver mbroadcastreceiver = new broadcastreceiver() { public void onreceive(context context, intent intent) { log.v("sunil", "broadcastreceiver======"); } };
you have string tell android trying looking , illustration if want seek code on on receive should utilize string in intentfiltre
intentfilter filter = new intentfilter("android.provider.telephony.sms_received");
android broadcastreceiver
Comments
Post a Comment