Questions tagged [google-api-client]

**[DO NOT USE THIS TAG]** Please use the language specifying tag for your question instead of this tag.

Please use the language specifying tag for your question instead of this tag.

Below is the original wiki for this tag.

This is an obsolete tag used for an android sdk that no longer exists.

The GoogleApiClient The main entry point for Google Play services integration

Documentation can be found here.

1581 questions
5
votes
1 answer

android Mock location not working with locationservices.fusedlocationapi

After downloading and using 'Fake Gps' from google store, I thought of creating one for educational purposes. I am using GoogleApiClient FusedLocationAPI for getting my current location and for creating a mock location. I am able to get my current…
j4rey
  • 2,582
  • 20
  • 34
5
votes
1 answer

google's newborn app "Spaces" API

Today I came up with some idea about googles new product "Spaces". I have searched a lot but couldn't find any sign that this app has API. Do you have any information about this topic ?
5
votes
5 answers

GoogleApiClient onConnectionFailed with statusCode=SIGN_IN_REQUIRED

I'm trying to connect my app to Google play service to access Google Drive but It showing me connection failed with statusCode SIGN_IN_REQUIRED. But it seems to behave like that just 3 days ago. I am also checked developer console of google. They…
5
votes
2 answers

Trouble enabling GoogleApiClient in AppCompatActivity

Trying to follow basic setup as per Google's guides: mGoogleApiClient = new GoogleApiClient.Builder(this) .enableAutoManage(this /* FragmentActivity */, this /* OnConnectionFailedListener */) .addApi(Auth.GOOGLE_SIGN_IN_API, gso) …
Captain Prinny
  • 459
  • 8
  • 23
5
votes
3 answers

google/apis/drive_v2 authentication on new google Drive authentication. I also hope to avoid frustration with google-api-client

First my question is about getting google drive_v2 authentication working and creating new files etc with my rails 4.2 app. I have the rails app with devise/omniauth2 and google working just fine. I have activated in the google dev console both web…
prussiap
  • 667
  • 1
  • 7
  • 14
5
votes
1 answer

Using Google sign in to access Google spreadsheets (or other Google apps) on Android

I'm developing an Android app and added a google sign in feature by following the tutorial here: https://developers.google.com/identity/sign-in/android/sign-in Now that the user is logged in I want to be able to read and write to their Google…
Zarwan
  • 5,537
  • 4
  • 30
  • 48
5
votes
1 answer

Android Wear CapabilityApi cannot find handheld capabilities

I'm attempting to use MessageAPI to communicate back and forth between my handheld app and wearable app. I can't get the communication to work. I can confirm the devices are connected, but when my code executes, it acts like neither app has…
Ethan_AI
  • 1,049
  • 2
  • 13
  • 20
5
votes
2 answers

Google Calendar API - recurring event with max time limit

I would like to get all events of a recurring event. Therefore I set the option singleEvents to true. Now, when I list all events, the response returns endless items (by using nextPageToken). Sure, I can set a MaxTime to have a maximum time limit.…
5
votes
1 answer

Google API Client GTMHTTPUploadFetcher duplicated

I'm creating a cocoapod. To .podspec I've added the line: cs.dependency 'Google-API-Client', '~> 1.0' and since this moment I can't push my framework to spec repo. During pod repo push company-private MyFramework.podspec --allow-warnings…
Nat
  • 12,032
  • 9
  • 56
  • 103
5
votes
2 answers

Getting UID that you get for gmail IMAP using new REST API

Is it possible to get gmail UID that you get while using IMAP api by using new REST API. This would allow to keep some part of my IMAP code as it is and slowly migrate towards the new REST API.
Mahesh
  • 611
  • 9
  • 16
5
votes
1 answer

how to use GoogleAuthenticator for tfa (two-factor authentication) in a custom non-google login webapp

ok, I've spent 2 hours googling on what it is & how to use it in a web-application! but no success. Most of the links talk about scanning codes or entering some key in the GoogleAuthenticar mobile app and it'll return changing verification codes…
5
votes
2 answers

Detect revoked permission for App in Google API

I am using the PHP Google client library. I successfully get a token and refresh token from user/google to use with the API. As soon as the user revokes the permission for my website in Googles settings on the Google page i get following…
Merion
  • 721
  • 2
  • 13
  • 24
5
votes
5 answers

Google+ JavaScript API: How to detect user sign in status?

I have deployed Google+ Sign-in Button, now I have to provide Sign-Out Button, before that, I need to know whether the user is still signed in, by which I can then show or hide this button. I found this documentation:…
Ray C Lin
  • 703
  • 3
  • 8
  • 24
5
votes
1 answer

AbstractGoogleClient: Fatal signal 11 (SIGSEGV)

06-06 00:05:02.955: I/DEBUG(5660): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 06-06 00:05:02.955: I/DEBUG(5660): Build fingerprint: 'google/occam/mako:4.2.2/JDQ39/573038:user/release-keys' 06-06 00:05:02.955: I/DEBUG(5660):…
Basic Coder
  • 10,882
  • 6
  • 42
  • 75
5
votes
1 answer

Mirror API and Node.JS

I have a node.js program that I am trying to work with the googleapis module (https://github.com/google/google-api-nodejs-client) version 0.2.5-alpha. I can make calls using the raw HTTP without problems, so I know I am white listed for the API, I…
Prisoner
  • 49,922
  • 7
  • 53
  • 105