Android Interview Questions and Answers What is android?



Download 0.77 Mb.
View original pdf
Page46/62
Date17.12.2020
Size0.77 Mb.
#54986
1   ...   42   43   44   45   46   47   48   49   ...   62
Android Interview Questions
8. Ordered Broadcasting
8.1 Sending An Ordered Broadcast Intent
A simple ordered broadcast Intent can be sent using an implementation of the android.content.Context public abstract void sendOrderedBroadcast(
Intent intent,
String receiverPermission) method. If the receiverPermission argument is non-null then a BroadcastReceiver cannot receive the broadcast Intent being sent unless it was declared by an Application which has been granted the given permission. The method is asynchronous. It returns immediately, and the process of sending the ordered broadcast Intent executes independently of the method’s caller.

Download 0.77 Mb.

Share with your friends:
1   ...   42   43   44   45   46   47   48   49   ...   62




The database is protected by copyright ©ininet.org 2024
send message

    Main page