Shan
Shan

Reputation: 2832

How to parse a url and convert the url contents into string for Android?

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

whether this can be done for Android programming?

Upvotes: 1

Views: 2191

Answers (2)

MD Sayem Ahmed
MD Sayem Ahmed

Reputation: 29166

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.

Upvotes: 2

Rohit Sharma
Rohit Sharma

Reputation: 13815

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

Upvotes: 0

Related Questions