Hi folks, I developed a game for Android called Jumping Bird, it writes the score obtained by the player in the database on my web server, but it does so synchronized. While it tries to write data in the database on the web, the entire game is stopped , and worse, when the server is slow, the request takes more than 5 or 10 seconds, an ANR(application not respond) error occurs and the OS tries to close the app.
I wonder how I can make that request asynchronous.
There is any library that does it? or if someone has already done so, give me a hint.
Thanks
I wonder how I can make that request asynchronous.
There is any library that does it? or if someone has already done so, give me a hint.
Thanks