Android - Access to online Database SQlite
- by Oneiros
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.