Android - Access to online Database SQlite

Posted by Oneiros on Stack Overflow See other posts from Stack Overflow or by Oneiros
Published on 2010-12-30T13:04:13Z Indexed on 2010/12/30 13:54 UTC
Read the original article Hit count: 163

Filed under:
|
|
|
|

I need to open, read and insert items into an online SQLite database from an Android app.
I know url, username and password. In JavaSE i would do the following:

Class.forName("com.mysql.jdbc.Driver");
Connection dbConnection = DriverManager.getConnection(URL, USER, PASSWORD);

I read that I can't do this in Android because there is not a JDBC Driver (there is a "SQLite.JDBCDriver" but it is not documented and not recommended).
So which is the easiest way? I asked to Google but it looks like he either doesn't know.

© Stack Overflow or respective owner

Related posts about java

Related posts about android