android - How to access broadcastreceiver of another application -
i have 2 applications a1 , b1.a1 have broadcastreceiver , want register broadcastreceiver b1.so tried
intent intent = new intent(); intent.setclassname("pkgname","pkgname.broadcastreceivername"); intent.setaction("xxx.x...xxx"); getapplicationcontext().sendbroadcast(intent);
but not fire/register receiver.
how access broadcastreceiver of 1 application in application?
thanks in advance
the broadcastreceiver in application-b1 should registered in androidmanifest.xml file appropriate intent-filter broadcasting application-a1.
Comments
Post a Comment