java - cannot retrieve integer from intent in android broadcastreceiverclass -
I am new to Android development and am trying to create my first app. When I send an intent
to a activity
to broadcast recipient
, then I need to get the addition, but the broadcaster will have to GetIntent not supported () .getExtras ()
.
The broadcast receiver will give you the intent, you simply get additional from it as a parameter to obtain To override the on-method method:
Override public null at @Receive (reference reference, intent to intent) {bundle extras = intestine. Gate extras (); // something with Extrasstras}
Comments
Post a Comment