Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews Mobile Technologies Interviews:3GAndroidAndroid DeveloperAndroid Software EngineerApp Store Optimizer (ASO)BlackberryiPhoneMobile App ArchitectMobile ApplicationMobile Application DeveloperMobile Apps DeveloperSr. Android DeveloperWireless Communication
Copyright © 2018. All Rights Reserved
Sr. Android Developer Interview Question:
Tell me what are broadcast receivers? How is it implemented?
Submitted by: Muhammad► Broadcast Receiver is a mechanism using which host application can listen for System level events.
► Broadcast receiver is used by the application whenever they need to perform the execution based on system events. Like listening for Incoming call, sms etc.
► Broadcast receivers helps in responding to broadcast messages from other application or from the system.
► It is used to handle communication between Android operating system and applications.
It is implemented as a subclass of BroadcastReceiver class and each message is broadcaster as an Intent object.
public class MyReceiver extends BroadcastReceiver {
Public void onReceive(context,intent){}
}
Submitted by: Muhammad
► Broadcast receiver is used by the application whenever they need to perform the execution based on system events. Like listening for Incoming call, sms etc.
► Broadcast receivers helps in responding to broadcast messages from other application or from the system.
► It is used to handle communication between Android operating system and applications.
It is implemented as a subclass of BroadcastReceiver class and each message is broadcaster as an Intent object.
public class MyReceiver extends BroadcastReceiver {
Public void onReceive(context,intent){}
}
Submitted by: Muhammad
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.