Test the return result of the doInBackground method of the AsyncTask and log the result
Display a message to the user depending on the return result from the async task
Change hard-coded magic numbers to named constants for return results