开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜