android how to handle key events in async task
<p>i am using async task while retrieving data from server,everything is working fine but when i press the back key to navigate to previous activity it throws nullpointer exception</p>

<p>i used <code>KeyDown()</code> and <code>KeyUp()</code> to handle the key events</p>

<p>Please help me</p>
