I'm working on a fighting game with many characters to unlock and I'm trying to store each user app data online so if they reinstall the app they can get their save data back again. The game saves in-game currency and some other data using SharedPreferences
and saves the data of each character in a database using SQLite
. Now I'm trying to use Google Snapshot Api but there are 2 problems:
byte[] bytes
to snapshot.getSnapshotContents().writeBytes(bytes);
. You may Refer any preferable back-end server for storing data online
PHP with MySQL
Firebase cloud storage
Use Web Services in any of this language Php, .Net, Java, etc.
I personally using PHP-MySQL and Fire-base
refer Following links:
https://www.tutorialspoint.com/android/android_php_mysql.htm
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.