开发者

How to Create an intent for broadcast receiver?

开发者 https://www.devze.com 2023-03-15 08:44 出处:网络
I have a clas开发者_如何学Cs with a broadcast receiver class inside of it. How would I go about creating an intent to call upon the broadcast receiver from my on create in the same class?Create intent

I have a clas开发者_如何学Cs with a broadcast receiver class inside of it. How would I go about creating an intent to call upon the broadcast receiver from my on create in the same class?


Create intent in usual way and send it with sendBroadcast(Intent) method of Context class

0

精彩评论

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