I use SQLite to store collected data such as job ID, start time, end time, locally. I need to send stored data to the server periodically on timer event a few times a day. Data should be sent via WLAN or 3G connection. I think I need to use a separate thread for sending data in order to not block the main thread where the user is entering data.
Is that possible?
Is it better to send data on the timer event in the main thread and not to use threading at all?
Is that possible?
Is it better to send data on the timer event in the main thread and not to use threading at all?