How to pass value from Broadcast receiver to Activity in android?
I am 开发者_开发技巧developing the sample application in android.I want to know how to pass the variable from broadcast receiver to to the Activity class
Please any one help me how to do that in android Thanks in advance
If you are using Intent
to start an Activity
,
then send values to the intent by using intent.putExtra(key, value)
and get the same in your Activity
.
精彩评论