I read the following article regarding the most common issues with Android apps:https://medium.com/googleplaydev/how-to-fix-app-quality-issues-with-android-vitals-and-improve-perfo
In particular, I found the following interesting:
What are the common reasons for ANRs?
Executing disk or network I/O on the main thread. This is by far the most common cause of ANRs. While most developers agree that you shouldn’t read or write data to disk or network on the main thread, sometimes we’re all tempted to do it. Reading a few bytes from disk will probably not cause an ANR under ideal conditions, but it’s never a good idea. What if the user has a device with slow flash memory? What if their device is under extreme pressure from other apps that are simultaneously reading and writing, while your app waits in the queue to perform your “fast” read operation? Never perform I/O on the main thread.
How is file saving / loading done under the hood in Gideros. We design educational apps / game so this is important to us as we have to save a fair amount of data.