android - 为非游戏应用程序使用 Saved Game Service

标签 android google-play-games android-backup-service

我有一个安卓(非游戏)应用程序,我想为其实现云备份。我看过 Backup API但发现它受到限制,因为实际的备份和恢复后端过程由手机制造商和谷歌控制。我还希望允许用户在需要时手动备份和恢复。

有新的Google Play Games Saved Game service它提供了我正在寻找的东西,但我的应用程序不是游戏。

有没有人为非游戏应用程序实现了保存的游戏服务,并且可以就它的适用性提供一些建议?否则,有谁知道谷歌是否会允许这种方法(将游戏服务用于非游戏应用程序)?

谢谢。

最佳答案

听起来更好的解决方案是使用 Google Drive API。具体来说,就是存储应用程序数据的能力。来自开发者文档:

The 'Application Data folder' is a special folder that is only accessible by your application. Its content is hidden from the user, and from other apps. Despite being hidden from the user, the Application Data folder is stored on the user's Drive and therefore uses the user's Drive storage quota. The Application Data folder can be used to store configuration files, saved games data, or any other types of files that the user should not tamper with.

参见:https://developers.google.com/drive/web/appdata

关于android - 为非游戏应用程序使用 Saved Game Service,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27097869/

相关文章:

javascript - 转换后PhoneGap图像旋转问题

android - ProGuard 导致 NullPointerException

java - 如何将环境变量添加到 android Runtime.getRuntime().exec 命令中?

android - Google Play 游戏服务 - 实时多人游戏 - STATUS_CLIENT_RECONNECT_REQUIRED

android - 确定是否以编程方式启用系统范围的备份

android - 房间使用日期字段

android - 如何在 flutter 中为测验/游戏设置高分?

c# - 使用 google play games 检索玩家排名

android - BackupAgentHelper 从未在 Android 2.2 中调用

android - 在 Android 4.3 上创建的加密备份无法在 4.4 上恢复