I am developing an app and i want it to listen to all notifications (like messages from various apps), and incoming calls how can i do it?
There are broadcast receivers for such situations. For example here's an example of how to listen for the incoming call broadcast. Broadcast Receiver For New Incomming Phone Call - Android Example