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
Read Online Sr. Android Developer Job Interview Questions And Answers
Top Sr. Android Developer Questions
☺ | Do you know Android Architecture? |
☺ | Tell me which programming language is used for Android App development? |
☺ | What is intents in Android? What are the different types of intents? |
☺ | Do you know what is the latest version of Android? List all the versions of Android? |
☺ | Do you know what is AAPT? |
Top Mobile Technologies Categories
☺ | Android Interview Questions. |
☺ | Wireless Communication Interview Questions. |
☺ | 3G Interview Questions. |
☺ | iPhone Interview Questions. |
☺ | Mobile App Architect Interview Questions. |