How to avoid ANR occured in android?
<p>I am making an application in Android 1.6, there is an 'Application Not Responding' (ANR) error occuring - please suggest how to handle it in activity?  </p>

<p>I did only calling of web services according to condition and used a timer which runs and calls a particular webservice. One webservice fetches users who show on a gridview, when we click on the gridview seldom ANR occured but not each time.</p>
