0

Hi i new to android development i want to develop an android app for website which does not have JSON or XML API for providing data is it possible to get the data from the website as it updates to my android app please

Help even the slightest hint will be appreciated.i have Googled this but i didn't got proper answer

ven27
  • 3
  • 3

2 Answers2

1

Yes, it is possible. You will need the following components:

  • The website won't notify you when something changes. Thus, you have to poll the website frequently to find out if something changed.

  • Since the website offers no API, you will have to download the HTML and parse it.

Using these keywords in your search, you should find lots of material on StackOverflow, e.g.

Community
  • 1
  • 1
Heinzi
  • 167,459
  • 57
  • 363
  • 519
0

If you want to make an app for a website, then you will have to get that website and parse it and display the results however you want. A good example for this can be found under the Spring for Android's Github page

If the website you intend to parse is already available in the Spring social package, then the above examples will already provide you with the solution (or with something very close to it). But keep in mind that you can also do the same thing without Spring but you will have to parse the data manually.

ucsunil
  • 7,378
  • 1
  • 27
  • 32