V
V
Vitaly Pukhov2015-02-06 03:16:24
Android
Vitaly Pukhov, 2015-02-06 03:16:24

What wears out the memory card on android less?

I plan to write a class that, approximately once every 3 minutes in the xamarin application, will save some data to the map, the data has a structure and will either be serialized, or appended to csv, or saved to the sqlite database, given the frequency of writing, I would like to avoid unnecessary writing procedures, which best method to choose?
You can put the question differently, is it realistic to determine that the system plans to throw the application instance out of memory in order to flush the changes to disk first?
So far, it has not been possible to google working examples of intercepting the unloading of an application.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir S, 2015-02-10
@hePPer

add to the check class to control changes (whether the data has been changed or not) - and when you change it, save it right away.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question