Get handle of back  click in java class
<p>In my android application my Home activity calls Async task which is placed in another java class.If the user press on back of device i would like to perform some action in async task called.How can i get access of user back click in my java class which doesnot extend Activity.  </p>

<p>Please let me know if any suggestions.</p>
