I am writing an pap where when I arrive on a job site I press start and the current time goes into the start field.
I have two textboxes where I can write Title of job and details of job.
At the end of the job I select finish and email the job details home for billing later on.
I have all this working but if my phone hicups or I get a call and my app looses focus, when I bring it back all my data has cleared and I need to start again.
How would you guys get around this?
Am I best to write the data to a text file and delete after sending email? This way when app starts I could check for text file and if it exists assume the last job wasn't complete and load the data?
I have two textboxes where I can write Title of job and details of job.
At the end of the job I select finish and email the job details home for billing later on.
I have all this working but if my phone hicups or I get a call and my app looses focus, when I bring it back all my data has cleared and I need to start again.
How would you guys get around this?
Am I best to write the data to a text file and delete after sending email? This way when app starts I could check for text file and if it exists assume the last job wasn't complete and load the data?