How to pass value from activity to broadcastreceiver?
问题 I am developing one application using broadcastreceiver i have problem with receive value in broadcast receiver from activity,please tell me how to send value from activity to broadcast receiver and how to receive value in broadcast receiver from activity ,i am trying like below code but its not working my code in activity side Intent intent = new Intent("my.action.string"); //intent.setAction("IncomCallBroadCast"); intent.putExtra("contact",phNo); sendBroadcast(intent); in broadcastreceiver