HI

i m facing an urgent issue, as i tried to open the following URL
through coding it gives me exception at OpenStream()..

"illegal Character at home index 0:"

the URL is:
http://viralmesh_iphone.s3.amazonaws.com/lowURcholesterol/myplan.json

i also tried to encode the URL bt no vail...

here is my code also:

URL httpURL = null;
URLConnection con = null;

httpURL = new URL(page_URL);
con = httpURL.openConnection();
StringBuffer jsonText = new StringBuffer(readInputStreamData
(con.getInputStream()));

thnx in advance

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to