How not to lose content?

tsteward

Well-Known Member
Licensed User
Longtime User
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?
 

mangojack

Well-Known Member
Licensed User
Longtime User
Hi from WA .. Maybe have a look here StateManager

Cheers mj
 
Upvote 0
Top