You can't update the main thread from the doInBackground method of an asynchronous task. So how can you return data from your processing? We'll look at that here.
A practical guide to Android development. Learn to create Android programs using Java, and create the app of your dreams! Get complete courses at http://courses.caveofprogramming.com