0

I am looking for a way to use either PostgreSQL or MySQL (I am using the former, but I could just find a way to export it to MySQL and use that one) database offline.

I need to be able to query a database offline on an Android device.

Is it possible? Using JDBC it should be possible, isn't it?

6
  • What do you mean by "offline"? Do you mean that the DBMS resides locally on your Android device? Commented Feb 22, 2012 at 18:28
  • I am producing an application. I want some information to be available offline (without internet connection). The simplest way to use the same queries but being offline. Commented Feb 22, 2012 at 18:32
  • And what process will be executing those queries? Are you proposing installing a MySQL server on your Android device? Commented Feb 22, 2012 at 18:34
  • That's the problem. I want to release this application, what would you suggest to use? I need something that resembles the use of a DBMS, in terms of speed and ease of use. Commented Feb 22, 2012 at 18:37
  • 2
    In that case, I believe the standard solution for Android is SQLite databases: developer.android.com/guide/topics/data/data-storage.html#db Commented Feb 22, 2012 at 18:48

1 Answer 1

5

use SQLite . It is available out-of-the-box, and supported since version 1.

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

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.