With all the processes going on all the time in our phones, I was wondering about this.
My App will take data and when it is valid write it to a data file like this-
- deletes data file
- writes data file
- reads data file
We are talking about a text file of about 2000 lines, so not that big.
If there is an error during delete or write, the data file will be corrupted, which will cause the app to crash massively.
So I am wondering how concerned I should be? The major problem being if something interrupts the write cycle and stops the writing, in which case the app will be unusable.
-thanks.
My App will take data and when it is valid write it to a data file like this-
- deletes data file
- writes data file
- reads data file
We are talking about a text file of about 2000 lines, so not that big.
If there is an error during delete or write, the data file will be corrupted, which will cause the app to crash massively.
So I am wondering how concerned I should be? The major problem being if something interrupts the write cycle and stops the writing, in which case the app will be unusable.
-thanks.