-8

My website had been designed using php, now i want to parse the content of website and make it displayed in the android app, which parser should i have to use?? i heared about Json parser and XML parser, i dont have any idea about that, please give me the suggestions,

Sahil Mahajan Mj
  • 11,033
  • 8
  • 53
  • 100
  • Have you tried anything yet? You could start with a tutorial about jason parsing: http://www.androidhive.info/2012/01/android-json-parsing-tutorial/ – Bruno Bieri Nov 07 '12 at 06:14

3 Answers3

2

Have you tried browsing to your website from your android phone? No matter what it's written in (PHP, COBOL, ASP.Net), it just returns a bunch of HTML which is rendered by the browser which in this case just happens to be on an Android phone.

Nick.Mc
  • 18,304
  • 6
  • 61
  • 91
1

It is mostly a bad approach to parse a website to retrieve its data.

A better way is it to abstract the data layer so several User Interfaces can access it. There is a question over here, which deals with RESTful apis with php.

Community
  • 1
  • 1
Angelo.Hannes
  • 1,729
  • 1
  • 18
  • 46
0

Question :

  • Is your Website support Responsive Design ?
  • Do you want to use same view as in your web site ?

As per My Opinion you should use PhoneGap Framwork it will definatily help you.

Chintan Khetiya
  • 15,962
  • 9
  • 47
  • 85