Event Scan – Background threading

Today i completed the logic that tries to send and locally saved engagements to the server in the background.

Ive optimised it so that the thread only gets initiated when there are engagements to be sent to the server and then i destroy the thread as soon as there are no more engagements to go to the server.

This has hi lighted a property i need to store locally which is the “Date added” for the engagements.

Currently the date added is the date that the server receives the engagements, obviously, if the engagement site on the hand device for a couple of days, this value becomes invalid and incorrect.

This isn’t a big deal and i will add this logic in to both the web service and the iOS app.

 I really can’t wait until i can put a video up to show people.


Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: