- Explain the reason why an IntentFilter object has to be usedwhen registering a BroadcastReceiver usingregisterReceiver(BroadcastReceiver receiver, IntentFilterfilter)?
- Consider the method within the class BroadcastReceiver:
public void onRceive(Context context,Intent intent){}
How would Android OS know which Intentto return for the second parameter intent?
- What kind of data would the returned Intent contain?
Expert Answer
An answer will be send to you shortly. . . . .