gpt4 book ai didi

android - 是否有使用 getLeaderboardIntent() 获取公共(public)排行榜的解决方法?

转载 作者:塔克拉玛干 更新时间:2023-11-02 23:26:29 26 4
gpt4 key购买 nike

打开包含特定排行榜的 Google 游戏 Activity 非常简单:http://developer.android.com/reference/com/google/android/gms/games/GamesClient.html#getLeaderboardIntent(java.lang.String)

但是我喜欢这个,可惜公开乐谱没有开放。我的大多数用户实际上在 G+ 上没有很多 friend ,所以页面看起来是空的,而且我的大多数用户都有 ,o 动机,因为他们最有可能首先出现。

这就是为什么我想打开公开结果(第二个标签)

enter image description here

这可能吗?

最佳答案

您可以通过创建自己的 Google 排行榜 View 来实现。我的意思是,单独加载每个公开分数并在您的应用中创建您自己的排行榜表。

不幸的是,您正在寻找的是 google getLeaderboardIntent() 方法中的一些配置,这些配置允许使用 google 排行榜界面直接加载正确的页面。这应该有效,谷歌根据输入类型和数字使用 getLeaderboardIntent() 创建了不同的方法。但是它对我从来没有用过。

我通过回答这篇文章对此做了一些解释: How to open "All" by default instead of "Social" in Google Leaderboard?

关于android - 是否有使用 getLeaderboardIntent() 获取公共(public)排行榜的解决方法?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21482573/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com