You mean shot spotter?
They have that in our city. I guess you could put two mics up and triangulate with an iPhone app.
This is different. It uses the shock wave from the bullet, not just the acoustics of the shot itself. Check out the article.