How can my app know that google has sent to my mobile a notification/alert (for example, earthquake alert)?

I want my app to use some information the Android Earthquake Alerts System would send to my phone. How can my app access to this information and how can the app use it to wake up from runnig in second plane.