Smartphones are close to doing everything, including detecting earthquakes. Earthquakes are nearly impossible to predict, so when they do happen, people have to move fast and move out of harm's way to ensure there won't be any injuries, or worse, casualties.