IrishWhiskey
IrishWhiskey

Reputation: 339

Web Service Questions/Advice, Android

I need some advice and I am fairly new to Android Development.

There is a website that acts as a dashboard UI to access all the data being housed in a SQL database. The company had previously hired a developer to build iOS software that communicated with this remote database via iPad, iPhone etc. Well now they are looking to build an Android compatible application. I am hoping that the previously built web service file(s) are able to be re-used for the Android application. They will be using REST/JSON to send/receive info. However they are no longer in contact with the iOS developer. So although we have backend access to all the files we have no idea where the web service file(s) are located or how they were labeled. So my questions:

Because I'm a novice I understand I might not be asking the right questions, so if more info is needed please just drop a comment and I'll do my best. Thanks for the help/advice. Links are welcomed.

Upvotes: 0

Views: 71

Answers (1)

digitaljoel
digitaljoel

Reputation: 26584

  1. If it's a REST/JSON interface you should be able to easily use it from an android client.
  2. If you only need to create an android client and the iOS client and server are working fine I would definitely not start from scratch unless your employer has money to burn.
  3. You could setup a proxy for an iOS client and see what it is hitting. You could also look at the access log for the server to see what URLs are being requested. Finally, you could get into the PHP code and figure out what it's doing and what the endpoints of your service are.

Upvotes: 1

Related Questions