腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(4176)
视频
沙龙
1
回答
用于
FCM
的
GoogleApiClient.Builder
().
addApi
()
、
、
我希望确保设备具有
用于
Firebase Cloud Messaging
的
Google Play服务APK。GoogleApiClient mGoogleApiClient = new
GoogleApiClient.Builder
(thisenableAutoManage(this /* FragmentActivity */,
浏览 0
提问于2016-08-22
得票数 1
回答已采纳
2
回答
GoogleApiClient未配置为使用此调用所需
的
接口
、
我正在尝试使用Google Places API获取一个地方
的
纬度和经度。我遵循这个示例:mGoogleApiClient = new
GoogleApiClient.Builder
(this) .
addApi
(Places.PLACE_DETECTION_API) .
addApi
(LocationServices.API)我已经在Google API控制
浏览 4
提问于2016-09-02
得票数 5
回答已采纳
2
回答
无法启动ActivityComponentInfo
、
、
、
、
我正在尝试将google和登录集成到我
的
应用程序中。我遵循了教程。当我试图部署我
的
应用程序时,我收到一条错误信息,上面写着-logcat显示以下错误: btnRevokeAccess.setOnClickListener(this);
浏览 1
提问于2014-10-10
得票数 0
回答已采纳
1
回答
Android Studio自动生成
的
代码
、
我在Android Studio中运行我
的
应用程序,我
的
Java文件中有自动生成
的
代码。我得到了与该代码相关
的
错误/见下文,我无法解释。我很感谢你
的
帮助。.client = new
GoogleApiClient.Builder
(this).
addApi
(AppIn
浏览 0
提问于2016-03-13
得票数 0
1
回答
按Lastlocation发布
、
、
我写了一个程序来确定我
的
位置。我只遵循谷歌页面和
的
说明。当程序在我
的
Galaxy note 4 (android 5.0.1)上运行时,它会给我一个弹出式窗口,让我选择我
的
帐户,然后我会选择它,但在那之后会出现另一个空
的
弹出式窗口,并停留在那里,而不是给我我
的
位置但当我在弹出窗口之外单击时,弹出窗口会弹出,我通常会看到没有我所在位置
的
地图。savedInstanceState); setContentView(R.layout.activity_main
浏览 0
提问于2015-05-16
得票数 0
1
回答
没有要求适当
的
Api。与Google断开连接
、
E/AndroidRuntime: at com.google.android.gms.internal.zzli.zzb(Unknown Source)这是我要断开连接
的
代码
浏览 1
提问于2015-10-22
得票数 1
回答已采纳
3
回答
无法访问Google客户端?
、
、
、
、
我在我
的
项目中实现了GoogleApiClient.ConnectionCallbacks, GoogleApiClient.OnConnectionFailedListener (以及它
的
三个回调方法(c只是一个保存上下文
的
对象)P.S.{ if (mGoogleApiCl
浏览 5
提问于2017-05-13
得票数 0
3
回答
安卓应用程序在扩展到FragmentActivity时崩溃
、
、
我浏览了整整一页关于如何连接到Google
的
内容,并正确地遵循了指南。根据developer.android.com
的
指南。之后,当我试用手机时,我
的
应用程序就不再运行了。 GoogleApiClient mGoogleApiClient = new
GoogleApiClie
浏览 5
提问于2015-01-17
得票数 0
回答已采纳
1
回答
Google排行榜显示在最新版本中损坏了吗?(Google Play服务7.5.71)
、
、
、
我已经成功地使用以下代码从我
的
游戏中启动了Google排行榜显示: startActivityForResult(Games.Leaderboards.getLeaderboardIntent(googleApiClient因此,在两个不同
的
设备上,当我能想到
的
唯一相关变化是对Google库
的
更新(Google Play服务7.5.71 1955121-036)时,这项功能在同一版本
的
应用程序上停止工作。我还有第三个设备,它仍然可以在上面工作,使用
的
是Google Play Servic
浏览 3
提问于2015-06-02
得票数 0
1
回答
安卓在使用“`FusedLocationApi`”时与`LocationServices.API`和`Auth.GOOGLE_SIGN_IN_API`发生冲突
、
、
、
、
我有这样
的
代码setGoogleSignInAccount .enableAutoManage.addConnectionCallbacks(this) .
addApi
(LocationServices.API)我有
浏览 4
提问于2016-07-17
得票数 0
回答已采纳
1
回答
连接到GoogleApiClient.ConnectionCallbacks后未调用
的
GoogleApiClient方法
、
我有一些连接到GoogleApiClient
的
代码,但是没有调用onConnected。initGoogleApiClient(); mApiClient = new
GoogleApiClient.Builder
( this ) .build(); mApiClient.connect
浏览 9
提问于2015-01-20
得票数 0
回答已采纳
1
回答
空对象引用上
的
Android -boolean -boolean
、
、
、
我得到了我
的
片段类
的
错误,也就是说, private GoogleApiClient mGoogleApiClientgetDeviceLocation();
浏览 3
提问于2017-04-09
得票数 1
回答已采纳
2
回答
在AppCompatActivity中启用AppCompatActivity时出现问题
、
按照Google
的
指南,尝试遵循基本设置: .enableAutoManage(this /* FragmentActivity */, this /* OnConnectionFailedListener */) .build(); OnConnectionFailedLi
浏览 3
提问于2016-02-10
得票数 5
2
回答
使用G+登录--为什么范围"plus.login“不能单独工作?
、
、
、
我已经在这个话题上做了几十个答案,遵循了官方
的
快速启动指南,并做了我能想到
的
所有事情。设置GoogleApiClient
的
作用域有问题。googleClient = new
GoogleApiClient.Builder
(this) .addOnConnectionFailedListener(t
浏览 2
提问于2015-05-14
得票数 6
2
回答
GooglePlayServicesClient和ConnectionCallbacks
、
、
I init LocationClient和LocationRequestrequest = LocationRequest.create(); request.setInterval(UPDATE_INTERVAL_IN_MILLISECONDS); request.setPriority(LocationRequest.PRIORITY_HIGH_ACCURACY)
浏览 5
提问于2014-03-11
得票数 1
2
回答
不能强制转换为com.google.android.gms.common.api.GoogleApiClient$ConnectionCallback
protected synchronized void buildGoogleApiClient() { .
addApi
浏览 1
提问于2015-01-23
得票数 2
1
回答
多个Api
的
GoogleApiClient
、
我在我
的
安卓应用程序中使用GooglePlayServices。我将使用Google+ Api & LocationServices Api。因此,根据Google
的
文档,我用
addApi
(Auth.GOOGLE_SIGN_IN_API),
addApi
(LocationServices.API).构建了
addApi
(Auth.GOOGLE_SIGN_IN_API),
addApi
(LocationServices.API).每次用户启动应用程序时,我都使用Google+ api,但
浏览 1
提问于2016-03-04
得票数 0
2
回答
无法获取Google fom android应用程序中
的
文件夹列表
、
我正在尝试获取我
的
google驱动器中
的
文件夹列表,我已经成功地注册了我
的
应用程序,并且代码一直运行到onConnected()方法,这是我使用
的
代码: if (mGoogleApiClient == null) { .
addApi</e
浏览 2
提问于2014-05-16
得票数 0
回答已采纳
1
回答
我必须为Drive.API和Auth.GOOGLE_SIGN_IN_API创建2个Google Api客户端吗?
、
、
、
、
我有一个android应用程序,我可以在其中使用google登录/注销,这就是为什么我使用以下Google Api客户端: .build();
浏览 4
提问于2016-07-27
得票数 0
2
回答
使用获取当前位置
、
、
mGoogleApiClient = new GoogleApiClient .
addApi
(Places.GEO_DATA_API) .addConnectionCallbacks(this).addOnConnectionFailedListener(this)这是
用
浏览 2
提问于2015-10-12
得票数 4
回答已采纳
点击加载更多
相关
资讯
android应用集成google登录
推荐 l 基于粒子群优化的模糊C均值聚类算法
FCM差旅坚持以人为本、技术创新,为企业客户提供新体验
统一FCM!谷歌宣布明年停止支持GCM消息推送服务
统一FCM!谷歌明年停止GCM推送服务
热门
标签
更多标签
云服务器
对象存储
ICP备案
云点播
实时音视频
活动推荐
运营活动
广告
关闭
领券