Hello everyone, I have a problem when I try to send a broadcast intent from App1 to App2 and set my component name using *setComponent()* method
That is, In my APP2 I have *String myAction = ..; IntentFilter filter = new IntentFilter(); filter.addAction(myAction); this.registerReceiver(receiver, filter); * //APP1 *String myAction = ..; Intent intent = new Intent(myAction); sendBroadcast(intent); * it works, but if I use *String myAction = ..; Intent intent = new Intent(myAction); intent.setComponent(new ComponentName(pkgApp2, clsApp2)); sendBroadcast(intent); *It doesn't works. So my question is: why?* * Thanks in advance. PG -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en