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.
-
SQLiteadmin could be what you need (it's a traditional app, and not a web application though): sqliteadmin.orbmu2k.deChristopheD– ChristopheD2012年11月13日 18:12:39 +00:00Commented Nov 13, 2012 at 18:12
-
And how use it to access database in phone memory?neworld– neworld2012年11月13日 18:17:57 +00:00Commented Nov 13, 2012 at 18:17
-
SQLite is Serverless. There are webservices and things like that building upon SQLite but if you want a database with remote access you're probably better off using something else.zapl– zapl2012年11月13日 18:39:12 +00:00Commented Nov 13, 2012 at 18:39
-
@zapl I think questioner need in ease way access database file in phone memory ant manipulate it.neworld– neworld2012年11月13日 21:29:56 +00:00Commented Nov 13, 2012 at 21:29
-
@neworld possible, questioneer is not very clear about how device internal db and db on webserver should interact, or if at all. If it's about getting the file from the device stackoverflow.com/questions/6928849/…zapl– zapl2012年11月13日 21:43:44 +00:00Commented Nov 13, 2012 at 21:43
2 Answers 2
SQLite is not a client/server database. That said, the SQLite wiki mentions some alternatives.
Comments
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.
1 Comment
Explore related questions
See similar questions with these tags.