java - Integrate a finished web service in a Android application -
i don't know if correct term "integrate" or "connect" finished web service in android application. mean,
- is there possibility "integrate" finished restful web service in android application, have not developed, yet.?
otherwise,
- are there steps develop restful web service need use android application?
the last question asked because don't know if first step finish restful web service , integrate in android application or or developing restful web service , android application @ same time.
in case, how can well? need organise mind
you need 3 things:
- client(your app)
- server
- database
lets have create login service app. steps should given below:
- create login form android ui.
- get username , password edit texts in strings.
- send these credentials server(via http reqest).
- at client side read response url via input stream.
- at server side, use server side technology in familiar with.(if not familiar server side tech. recommend php.)
- select/update/compare (whatever want) in data base , return response json string.
you can use server on system. suggest use xampp(cross platform apache mysql php perl). name says, includes server+database+php (its local). create local apache server on machine.
follow : xampp tutorial , working xampp
here nice tutorials of web services android:
Comments
Post a Comment