I have a windows mobile application that runs on a PDA. It is written using eVC++4. The application stores data in a databse on the PDA AND also sends the data via wi-fi to a server as soon as it is recorded.
I am trying different methods to do this properly and ensure that the architecture is right. I am able to store the data in the database properly and also send it via wi-fi to the server. I have the wi-fi sending part running on a different thread.
I want to do the following:
1. Tap a button on the PDA that is associated with some data.
2. Store this data locally on the PDA AND send it via wi fi to a server.
I want to check each piece of data and ensure that is sent, if it did not send then send it again. (Wait for acknowledgement)
If I tap a button and then wait for it to be sent to the server (it may take a second or two at most) then this slows my application down as I want to enter data quickly on the PDA.
How should I best do this? Please advise. If you need any more information just ask.