jon80
Member
I would like to know how to complete this class, as I am preparing scripts for connecting to the database. I am currently not decided between MySQL and SQLite, both seem compatible although SQLite is documented as native on the documentation.
It was not possible to upload files ending with .java on this forum unfortunately so one question at a time.
The database is located on the file server, shall I just copy it within the \java sub-folder, and, what do I do if the database server is remote i.e. on a network drive, shall I just write a UNC reference to it with escape characters e.g. \\dev-server\database\taxi-invoicing-db?
References
1. http://www.sqlite.org/ (using SQLite Browser - http://sqlitebrowser.org/)
2. http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html
Java:
public static final int DATABASE_VERSION = 1;
public static final String DATABASE_NAME = "taxi-invoicing-db";
It was not possible to upload files ending with .java on this forum unfortunately so one question at a time.
The database is located on the file server, shall I just copy it within the \java sub-folder, and, what do I do if the database server is remote i.e. on a network drive, shall I just write a UNC reference to it with escape characters e.g. \\dev-server\database\taxi-invoicing-db?
References
1. http://www.sqlite.org/ (using SQLite Browser - http://sqlitebrowser.org/)
2. http://developer.android.com/reference/android/database/sqlite/SQLiteDatabase.html