Using AsyncTask for a single task is not a good solution, you should better look to Threads
.
But if you want to use AsyncTask, anyway, you can add a constructor like this :
public readtextfile(TextView descriptiontext, String url){
this.description = descriptiontext;
this.url = url;
}
And use this.url
in your doInBackground.