google-api

Android Wear app resulting in getGoogleAppId failed with status error

99封情书 提交于 2019-12-31 13:24:06
问题 I have an Android Wear app which was working fine on my Moto360. It access Google Play Services and GCM APIs in the Google Admin console. Then I tried to use another watch (LG G Watch). Because I can only pair one watch at any time with my phone, I had to "forget" the moto360 in order to pair with the LG G Watch. Now I cannot seem to connect to Google App API (GCM or play services). I am getting the following error: I/GMPM ( 2746): App measurement is starting up E/GMPM ( 2746): getGoogleAppId

Android Wear app resulting in getGoogleAppId failed with status error

让人想犯罪 __ 提交于 2019-12-31 13:22:33
问题 I have an Android Wear app which was working fine on my Moto360. It access Google Play Services and GCM APIs in the Google Admin console. Then I tried to use another watch (LG G Watch). Because I can only pair one watch at any time with my phone, I had to "forget" the moto360 in order to pair with the LG G Watch. Now I cannot seem to connect to Google App API (GCM or play services). I am getting the following error: I/GMPM ( 2746): App measurement is starting up E/GMPM ( 2746): getGoogleAppId

Google Contact API Fetch Contacts related to a Contact Group

那年仲夏 提交于 2019-12-31 05:36:14
问题 I would like to know how to get all contacts related to a group. Let's say I have a contact group named "My Special Group" and the ID is xxxxxxx.I just want to retrieve contact under the "My Special Group" only. I have already tried this Request URI and test it on oauth2 playground: https://www.google.com/m8/feeds/contacts/default/full/?group=xxxxxxx. https://www.google.com/m8/feeds/contacts/myemail%40gmail.com/full/?group=xxxxxxx. And the result is: <errors xmlns="http://schemas.google.com/g

How to force download of file from Google Team Drive using Google Drive API libraries in Java

瘦欲@ 提交于 2019-12-31 05:12:15
问题 In my application, I am trying to force a download of a file from a Google Team Drive when the user clicks on a link on a form in my application. A few updates: I have code that can upload to the Team Drive as well as create folders on the Team Drive. The "Team Drives support - This application works properly with files in Team Drives." on the Google Drive API settings CANNOT be enabled - I can check this box, but I cannot click the Save Changes button, since the button is always disabled.

Google Sign In error: Status Code: SIGN_IN_REQUIRED when signing in with Google on android

有些话、适合烂在心里 提交于 2019-12-31 03:25:07
问题 Everytime I try to login with Google API, I get the following error. My manifest has the appropriate permissions and I did create my credentials accordingly. So I don't know what the problem is. The consent screen doesn't show either. com.omer.notetoself D/NTS:﹕ ConnectionResult{statusCode=SIGN_IN_REQUIRED, resolution=PendingIntent{3678d5c: android.os.BinderProxy@19bcbe30}, message=null} package com.omer.notetoself; import android.app.Activity; import android.content.Intent; import android

Error:invalid_client - The OAuth client was deleted even after having undeleted the API project

本小妞迷上赌 提交于 2019-12-31 03:21:13
问题 I am currently facing an issue with my Google API project. This project was deleted yesterday (I don't know who did it...) so I tried to undelete it. After this I still get the same error message: Error: invalid_client The OAuth client was deleted. Request detail cookie_policy_enforce=false scope=https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email https://www.google.com/m8/feeds/ https://www.googleapis.com/auth/calendar https://www.googleapis.com

Coming url doesn't let me go further in cordova app after google authentication

落爺英雄遲暮 提交于 2019-12-31 02:37:52
问题 Hello I am using Cordova app using Visual Studio 2015 community and simply login in the app using google authentication it's pretty fine login is done by open it in new window but after login it gives me the three pop up messages and than don't do anything. The messages are (which are coming after login process and gives allow permission): 1) gap_init:2 2) gap:[null,"CoreAndroid","messageChannel","CoreAndroid237153815"] 3) gap:[null,"CoreAndroid","show","CoreAndroid237153816"] by pressing

how to use the refreshAccessToken method to generate a new accesstoken in google-api-nodejs-client

浪子不回头ぞ 提交于 2019-12-31 01:34:53
问题 I see that this pull request adds a method to refresh the access token using a saved refresh token. It is not clear to me how to use it. I have saved the tokens (including the refresh token) from the original getToken request and am now retrieving the token from the Database in a new session. How do I set the credentials on OAuth2Client so that I can call refreshAccessToken and get a new accesstoken? 回答1: I had missed the paragraph on setting credentials on the github readme, so here is some

Pass Latitude and Longitude to Google API Places Search in Android

▼魔方 西西 提交于 2019-12-30 12:42:29
问题 I have literally been searching for this for weeks. I am a novice java programmer but I have been able to piece together an app that can use a double latitude and longitude hard coded in the same class. It will show a list of current places surrounding those points. I have another separate class with a method that is able to get the current location based on the gps/network but I can't pass the variables created from this second class to the PlaceRequest class. I have looked through all of

Pass Latitude and Longitude to Google API Places Search in Android

眉间皱痕 提交于 2019-12-30 12:42:13
问题 I have literally been searching for this for weeks. I am a novice java programmer but I have been able to piece together an app that can use a double latitude and longitude hard coded in the same class. It will show a list of current places surrounding those points. I have another separate class with a method that is able to get the current location based on the gps/network but I can't pass the variables created from this second class to the PlaceRequest class. I have looked through all of