2014-09-03 94 views
-1

我想在我的游戏中显示顶级玩家。我可以在哪里保存他们的分数?因为我知道我可以使用Google Play服务来做到这一点。有什么建议么?Android储蓄玩家分数

+0

我不知道从哪里开始 – 2014-09-03 07:19:28

+1

只要尝试在_Google_上搜索即可轻松了解如何使用该[_play service_](https://developer.android.com/google/play-services/的index.html)。 – TeachMeJava 2014-09-03 07:26:41

+0

您是否看过使用Google云端保存服务?这里:https://developers.google.com/games/services/android/cloudsave – alpinescrambler 2014-09-03 07:17:57

回答

1

你看过使用Google云端保存服务吗?这里:https://developers.google.com/games/services/android/cloudsave

+0

什么是app_id和APP_ID在这里? – 2014-09-03 13:31:36

+0

根据文档,您需要在清单文件(AndroidManifest.xml)中定义它。 com.google.android.gms.appstate.APP_ID是一个常量,在您的strings.xml文件中定义了@ string/app_id,并为您的应用创建了客户端ID时获得了一个值(https://developers.google .COM /游戏/服务/主机/启用#b_create_a_client_id) – alpinescrambler 2014-09-03 15:38:46