I have the following receiver:
public class ActionAlertReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
createMap(intent);
}
public static void createMap(Intent intent) {
Map<String, String> trackInfo = new HashMap<>();
trackInfo.put(KEY_MESSAGE_ID, intent.getStringExtra(KEY_MESSAGE_ID));
trackInfo.put(KEY_DELIVERY_ID, intent.getStringExtra(KEY_DELIVERY_ID));
}
}
This is being called when someones click on a notification.
I need to send the map to a activity... how can I do that?