I am trying to understand a Broadcast reciever, Here I have tried registering Reciever programatically so that i can get message from MyReciever class to perticular activity through interface call back, It worked fine. But now i have commented my programatic registering of reciever and I have registered reciever in menifest file.I am recieving the message in MyReciever's onRecieve() method as expected, the problem is how to render that message to perticula activity? In this case my listener will be null i cant use call backs here as per my knowledge (Correct me if i am wrong). How can I achieve this?
Note: Here i am sending two BroadCasts(when on Back pressed), I need to render that or get that message in perticular activity say when he clicks on the back button in SecondActivity then in MainActivity i should get that message, if he clicks back button in fouth activity then i should get that message in ThirdActivity(Reciever registered in Menifest file not programatically).
Complete Code Link: http://pastebin.com/eTwxMcHh , Your help Highly appreciated.