I'm trying to make an SQLite database on the first run of a program, with a single table containing 7 rows, which is intended to match up with a table on a MySQL database on a remote server. So my thoughts are:
(1) On first application run only, create the database, the table, and the number of rows with the desired entries.
(2) On all runs (including the first one) poll a remote MySQL database (over PHP) that contains a table with a timestamp column, and if the timestamp conditions are met (i.e. a new entry has been placed in the database), all entries after that will be added into the SQLite database on the Android phone.
If someone can point me in the right direction or give me some basic code for any aspects of this, that'd be great - thanks.