wood burning stoves 2.0*
The moose likes Android and the fly likes Frontend for PostgreSQL using web service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Frontend for PostgreSQL using web service" Watch "Frontend for PostgreSQL using web service" New topic
Author

Frontend for PostgreSQL using web service

Alexandru Gifei
Ranch Hand

Joined: May 19, 2012
Posts: 40

Hello. I want to develop an Android application which needs to send information to a PostgreSQL database. I need to connect to this db using an intermediary web service. I would like some hints/info's and what should i start with. Thank you.


Life is not measured by the number of breaths we take, but by the moments that take our breath away.
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Which part is the problem - the Android app, the WS, the Android-to-WS communication, the WS-to-DB communication, or something else? What, precisely, do you have so far, and where are you stuck making progress?
Alexandru Gifei
Ranch Hand

Joined: May 19, 2012
Posts: 40

I have just the Android application. Id like some guidelines of how to build the communication between Android and WS,then from WS to DB. And i dont know about web services.. Some very basic example would be nice, at least a communication between android and a web server. Sry for my english
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Read up on RESTful WS. Those can be implemented on the server via a library such as Jersey (assuming that server runs a servlet container), and can be accessed from Android using its built-in HttpClient library. I'm sure that you'll find introductory articles if you search for some phrase like "android rest web service" or similar.
Alexandru Gifei
Ranch Hand

Joined: May 19, 2012
Posts: 40

Thank you, ill look into it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Frontend for PostgreSQL using web service
 
Similar Threads
postgres connectivity failure with jdbc
Initial Context problem
How to stop automatically running services?
BUG: attach clip image can't show
how to map integer array in hibernate