in my app i am trying to parse an xml file from a url. My url contains some Strings which values are got from an edit box in another activity. In mu coding i got error in the following line
xmlreader.parse(new InputSource(url.openStream()));
A red line is shown in the word openStream, it says that
"The method openStream() is undefined for the type String"
please tell me how to define a openStream method for a url which is a String