8

We are undertaking an Android project but need to connect to postgreSQL server which we use throughout our other projects. Any suggestions on a starting point for this? Is there anything out there (paid or unpaid) that will allow us to achieve this?

I realize that this is a pretty general question, and although we have extensive experience with writing desktop client/server apps, we have little experience with programming for mobile devices.

3 Answers 3

7

I would write a RestFUL API or WebService to be used as front end for your Android device to connect to your PostgreSQL backend.

I don't think you will be able to connect directly your Android App to a PostgreSQL database.

Sign up to request clarification or add additional context in comments.

Comments

3

I'd go with a lightweight REST interface that would talk to PostgreSQL in the backend. Have a look at Simple.

Comments

2

I would approach this by implementing an intermediary web service. The Android application would send requests to the web service, which would serve as a gatekeeper to isolate the PostgreSQL server from the internet at large.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.