|
this has to be a simple answer. i have code that calls a broadcast
receiver, in the receiver, i try to get the extra data from the intent,
but it's null. so, Intent i = new Intent("test", null, context, MyReceiver.class); i.putExtra("org.jtb.name", "blah"); context.sendBroadcast(i); and in the BroadcastReceiver.onReceiver(), String name = i.getStringExtra("org.jtb.name"); but name is null. what am i missing? --
![]() |
- [android-beginners] BroadcastReceiver.onReceive(), intent... Jeffrey Blattman


