When I instantiate a BroadcastReceiver and when onReceive() is get called by android framework, what is the context passed to the onReceive() method? Is that an activity context? of an application context?
Thank you.
It Is An Application Context.
public abstract void onReceive (Context context, Intent intent)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With