I have an app with the SQlite DB inside and MySQL DB on the server.
SQLite:
Table 1: some columns
Table 2: some columns
MySQL:
The same tables and columns.
I want to ask you: Is it possible and is it the proper way for creating such functionality, like:
User starts the app and there is two buttons <=> activities (Activity 1 & Activity 2)
Activity 1: ListView with data from Table 1
Activity 2: ListView with data from Table 2
For example, user chooses Activity 1. The application proposes to user to update the data. If he/she agrees, the app makes connection with the server and updates SQlite DB Table 1 with data from MySQL DB Table 1.
The same is for Activity 2, but now, the data will be downloaded from Table 2.
Thanks in advance.