I have an app that uses many, many calls to a MySQL database; it does this inside an AsyncTask. Below is a sample of what one may look like.
My main qu
Your doInBackground returns NULL.
return null; You would usually return result;
there
your onPostExecute(has NuLL here) :)) as a result.
and here onPostExecute(String result) and handle it out this way.
Check the example posted again.
You have to handle out these nulls (and perhaps dismiss this progressdialog in the
onPostExecute() )
8-13 14:57:00.596: E/AndroidRuntime(2262): at com.---.-- -.MyFragmentActivity$RateFragment$RatingTask.onPostExecute(MyFragmentActivity.java:461) 08-13 14:57:00.596: E/AndroidRuntime(2262): at com.---.---.MyFragmentActivity$RateFragment$RatingTask.onPostExecute(MyFragmentActivity.java:1)