View Single Post
Old 07-21-2008, 06:32 AM   #5
Jayaseelan
Thumbs Must Hurt
 
Join Date: Jun 2008
Location: Chennai
Model: 8130
PIN: N/A
Carrier: AIRTEL
Posts: 51
Default

hi,

StringBuffer str = "";

Input Streram is = c.openInputStream();
int ch;
while ((ch = is.read()) != -1)
{
str.append((char)ch);
}
String stringE = new String(str);

After getting the xml file as Inputstream using Http Connection use this code..
__________________
Jayaseelan.V
Mobile Application Developer
INDIA.
Offline   Reply With Quote