2

I want to make an app that can access a website and extract information from it. How would I go about doing that?

4 Answers 4

0

If you are in control of the website I recommend you to take a look on JSON or XML.

0
0

Simple case is just openning an HTTP Connection to the site and then redirecting the data to an input buffer and reading everything. Here is an example:

http://download.oracle.com/javase/tutorial/networking/urls/readingWriting.html

0

Use HttpGet(). Here is an Android example:

http://w3mentor.com/learn/java/android-development/android-http-services/example-of-http-get-request-using-httpclient-in-android/

0

You can use the Apache HTTP that's included on Android.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.