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
0
votes
2 answers

java.lang.NoClassDefFoundError: com.google.android.gms.internal.zzpt$zza

I'm developing an Android app that involves authenticating the user using the GoogleApiClientBuilder class. The error occurs during runtime when I hit this part of my code: GoogleApiClient.Builder builder = new GoogleApiClient.Builder(this) …
0
votes
1 answer

How to Canecl GoogleApiClient Location request when no location available and send request again when location available

we have made a tracking app in which we are using fused location provider API to track the user location.Also GoogleApiClient is used with combination of LocationServices api. In the app we are tracking location in the time interval of 2 minutes.…
0
votes
1 answer

Validation backend with get Google Token on android

I have a problem when I try get Google token in android to Balidation backend. I create Web Application Client Id (I use http://localhost in url paths), Android Client Id, and use this code: public class GoogleOAuthTask extends AsyncTask
Dimmy Magalhães
  • 357
  • 1
  • 6
  • 21
0
votes
1 answer

google api client could not connect LocationService.API is unavailable

Im trying to make a service that tracks the phone with the google fused location api but the GoogleApiClient can't connect to LocationService.API This is the message i get when i search in the console for google api client Couldn't connect to…
Tilion
  • 103
  • 4
  • 10
0
votes
0 answers

set youtube v3 channel banner image, through ruby

I am able to upload the image, to youtube channel arts. This is the ruby script i have https://gist.github.com/anbublacky/ff76b56642613bfe3066 I am unable to set the uploaded image as…
Anbazhagan p
  • 943
  • 1
  • 14
  • 27
0
votes
0 answers

Connect to GP Services via GoogleApiClient

I'm trying to connect to google play services. I have my app released as alpha testing, I have created service for that app, and my mail is in list of testers. When I press sign in button. This what happens on the screen: And then error message:…
0
votes
1 answer

Differentiate between multiple Google APIs calling onConnected

So I have an app that uses both the google+ api to allow users to sign in, as well as the cast api to allow users to cast content to a chromecast. However, both APIs use the same connection callbacks. What is the best practice for differentiating…
Doronz
  • 704
  • 8
  • 21
0
votes
2 answers

Calling a Service within an Activity

What would be the simplest way I could call this particular Service within an Activity? I want this to run in background while I get continuous location updates getting sent to my MainActivity. Any suggestions would be greatly appreciated. public…
Ivan
  • 51
  • 7
0
votes
1 answer

How to stop Google Play Games window from popping up if there is no INTERNET

I use the Plus.API, Game.API, and Drive.API for IN-APP Purchases, LeaderBoards, and Saving game settings respectively. Every time I enter the game the Google Play Games keeps popping up even though I refuse the login numerous times. How can I make…
0
votes
2 answers

android - service for interaction with wearable

I tried creating a service (which extends WearableListenerService) which should send as well as receive data with wearable. But when i created GoogleApiClient object in that service, it failed with NullPointerException. public class MyService…
0
votes
1 answer

Issues when i integrate google sign in option to my application in android studio 1.2.2

I got some issues in the google sign option integration. I am using android studio 1.2.2 and i follow the link https://developers.google.com/identity/sign-in/android/start but got error in manifest file
0
votes
0 answers

Not able to get Location details using GoogleClientAPI in android

I tried getting the latitude and longitude of the users location, using GoogleClientAPI. I am not seeing any errors , but I am not able to log the location details. I am new to android started just a couple of week back. I have attached my code…
T Kanagaraj
  • 245
  • 5
  • 20
0
votes
1 answer

How to read google calendar data from multiple or single calendars of different people?

If I want to access multiple Google calendars of different people using google calendar who should I follow?
tree em
  • 20,379
  • 30
  • 92
  • 130
0
votes
0 answers

Is there any other way to use mgoogleapiclient.connect() apart from onstart()

I'm developing an API for getting the currentlocation. So how can i connect to GoogleAPiCleint from my java class(it's not an activity) In other words do i've to connect to GoogleApiClient from OnStart only(Callbacks)
Reddy
  • 79
  • 1
  • 8
0
votes
0 answers

Android - this app won't run without google play services which are missing from your phone

This is the message in my emulator when I try to run my app: this app won't run without google play services which are missing from your phone. What does it mean and what can I do to solve it ?