Handle external interrupts while switching activities in an App
<p>I Have developed an application which contains many activity.</p>

<p>I have noticed an issue while one activity starts another activity and meanwhile if we press camera button or get a call my application hangs and never recovers even after ending the call or closing the camera.</p>

<p>Basically what I want to know is how to handle external interrupts(alarms, calls, camera) so that my app resumes from where it had stopped.</p>

<p>I am replicating this issues on emulator as well as on LG Device.Can anyone give me some idea to how to handle onpause and onrsume function call in this case.</p>

<p>Thanks</p>
