The MyShake app sends information about seismic activity to a server at the University of California.

Story highlights

Early warning is a function developers hope to implement in a future version

Right now goal is to get app distributed around the world, test and validate it

Target is to give 40 seconds of warning that tremors are coming

CNN  — 

What would you do with a 40-second warning that an earthquake is coming? Scientists at the University of California in Berkeley released a smartphone app Friday they hope one day will let people know a tremor is coming and give them time to move to a safer place.

For now, the MyShake app (available for Android phones) will act as a data collector that will use a phone’s accelerometer to record shaking. If it determines it has the same characteristics as an earthquake, the app will send the data to the Berkeley Seismological Laboratory.

Richard Allen, the developer of the app, told CNN that smartphones will never replace seismic networks, but the app could help contribute and potentially speed up quake alert systems.

The goal is to get people all over the world to download the app then validate this version and test it. On release day, the app was downloaded by users on six continents. Most of the users were in the United States.

Allen said simulations suggest they will need 300 users in a 1,000 square kilometer area to get good data from that quake.

“Now, ShakeAlert only issues alerts when four of our traditional seismic stations are triggered,” Allen said on the university’s website. “But if we also have mobile phone data, maybe we would need only one station to trigger before issuing an alert.” (ShakeAlert is a product of the U.S. Geological Survey and several West Coast university partners.)

Allen thinks MyShake could be particularly useful in countries like Nepal and Peru.

“They don’t have advanced seismic technology but they do have millions of cell phones,” he said. Most of those phones are Android based, he said, so the first app was designed for those phones. An iPhone version is planned.

According to the MyShake website, the average phone can record a magnitude-5 earthquake if it’s within 6 miles (10 kilometers).

So how does the app know the difference between, say, a person doing an aerobics class and an earthquake? The app has been fed the different characteristics of earthquakes and human activity and it trains the phone to recognize the difference. If the phone thinks the motion it feels is an earthquake, it sends a message to Berkeley for analysis.

“We can use that data to understand the physics of the process beneath us, how the buildings around us respond to these earthquakes, and we will have more data than we have from the traditional seismic networks,” Allen says in a video introducing the app.

A major goal for developers is to provide location-specific warnings in which the phone can determine how long it will take before the shaking is going to begin in your area.

Allen said the target is 40 seconds of lead time.

Theoretically that could give a teacher time to get her students under their desks. You might be able to dash away from a window or get out of the way of objects that might be ready to fall.

The app works best on a table, Allen said.