By adding line numbers in eclipse, it makes a little easier to debug , find and fix errors in your project.
To add line numbers
Eclipse -> Window -> Preferences
Select General -> Editors -> Text Editors and tick on Show line numbers
...
In this tutorial you will learn how to use AsyncTask in your application. This AsyncTask class perform background operations and update the results on the UI
AsyncTask has three generic type
Params, the type of the parameters sent to the task upon execution.
Progress, the type of the progress units published during the background computation.
Result, the type of the result of the background computation
Private class ShowDialogAsyncTask extends...