In my doInBackground on AsyncTask i have a code to check the URL in try and catch, if the connection to server cut off, i want to change the URL the backup one.
here\