user1170168
user1170168

Reputation: 101

Accessing existing SQLite database using Eclipse

I have created an android app in java using eclipse which creates a SQLite database and lets the user add data to it.

I would like to know how to access an already existing SQLite database (say, in our web server) to view and add data to it ? I Googled it and didn't get any clear picture. Do I need to install JDBC driver for doing this ?

Thanks.

Upvotes: 1

Views: 993

Answers (2)

tkotisis
tkotisis

Reputation: 3552

SQLite is not a client/server database. That said, the SQLite wiki mentions some alternatives.

Upvotes: 1

toadzky
toadzky

Reputation: 3846

If you want to access a remote database from your app, you will need an interface (like a web service) that will take requests from your app and actually do the database manipulation. If you just want to access a local database from your computer, there are several utilities for it to do it graphically or you can use sqlite3 to do it from the command line. If you want to access the database through your browser, I think you need a web service for that too.

Upvotes: 0

Related Questions