I\'m trying to list all the contacts in mobile. So far everything was working fine, but when I thought of running my code in AsyncTask I\'m getting nothing on s
You are trying to call setAdapter in doInBackground which is not running on UI thread. You must pass the result of contact loading from doInBackground(..) to onPostExcecute(..) and there you can create a an adapter and set it in the list view.