Pages

Tuesday, March 30, 2021

Broadcasts in android

 Broadcasts listens to any type of event like touch or walk or sms recieve and then do something on recieving the broadcast .via OnRecieve method   . LIKE FOR EXAMPLE



If we want to do something when an sms is recieved in mobile then first declaring broadcast and intentfilter inside the manifest then creating a class extending broadcastReciever . we can do what we want in OnResponse method. 


broadcasts by CODETUTOR

No comments:

Post a Comment

KeyPoints-Series-1

  The Android architecture has the Main Thread AKA UI thread, which updates the UI after every  16ms  frame.