1

How to parse and convert the contents of url into string?

whether this can be done for Android programming?

Shan
  • 2,822
  • 9
  • 40
  • 61

2 Answers2

2

Use UrlQuerySanitizer class.

EDIT

Here is an article which will show you how to download images/files from a specific URL to your device.

Second Edit

See this answer.

You can take a look at this tutorial also.

Community
  • 1
  • 1
MD Sayem Ahmed
  • 28,628
  • 27
  • 111
  • 178
0

What should I do to connect to Server from eclipse - Android?

Check This URL here i posted a complete code to connect to a url and read the entire content . at present it getting in the Log cat you can store it in Strings or anywhere you want

Community
  • 1
  • 1
Rohit Sharma
  • 13,787
  • 8
  • 57
  • 72