There is this app: SkyAlert I believe it is Mexican), that alers whenever an earthquake is happening near you.
It gives you like 5-10 seconds heads up, depending on where you are and where the earthquake is.
So, on last week earthquake I didnt receive one since I didnt set it up after I ugprade my phone.After that I set everything up I have been receiving the notifications (it now includes weather stuff like hurricane and stuff)…now every time I see any notification I plan to run and then I remember the weather stuff.