Hi,
I am making an app in which i need to implement calling emergency medical services when mobile shakes with a particular threshold. Is it possible to capture the threshold or the extent of phone shakes and making a call when it happens? One requirement is can this is possible when my app is not running?