Questions tagged [android-googleapiclient]

169 questions
0
votes
2 answers

Android place picker style actionbar

Im trying to use Place Picker library in my application but seems I'm having trouble with the style of the Place Picker screen. Can someone tell me how can I style this screen and is it stylable at all? Here is what I'm getting on my device: and…
0
votes
0 answers

GMail API getting Access Not Configured in Android

Hi i am trying to implement GMail API in my android app to send mail in background. But i am getting a response like this. Even if I enabled Gmail API permission in my app. { "code" : 403, "errors" : [ { "domain" :…
0
votes
1 answer

Android real-time multiplayer: onRoomCreated gets erratic STATUS_NETWORK_ERROR_NO_DATA

Problem: onRoomCreated returns STATUS_NETWORK_ERROR_NO_DATA 5% of the times, for no reason that we can figure out. The game worked well for about 16 months of development (no problem of missing "permissions" in the manifest or the Google Play…
0
votes
1 answer

android - google maps v2 - keep updating location from service

I have followed this tutorial and now I have a working activity with google map fragment. I need to keep track on the location of my app's users - the fragment has a onLocationChanged method which fires when location is changed, and on that method I…
0
votes
2 answers

Google places getPlaceById callback not getting invoked

I am building an android app that saves a place ID retrieved from the PlaceAutocomplete API. At a later point, I am trying to get the details of the place using the getPlaceById() API. I see that the callback is never getting called. I have set the…
0
votes
1 answer

GoogleAuthUtil.getToken is different from GoogleSignInOptions.getIdToken

Why is it that when using GoogleAuthUtil.getToken(context, account, "audience:server:client_id:XXX"); you get a different ID token than when you retrieve it like this (when using Google Sign In) GoogleSignInOptions.getIdToken(); ? Even weirder is…
0
votes
1 answer

Android studio - updating GCM api to Google services

My application uses GCM since a very long time. Since the old API is deprecated, I am trying to upgrade it and use google-services-gcm. I followed the suggested steps on the google website however, I got the following error: Execution failed for…
0
votes
0 answers

GeoFnecing class getting error unknown source found error

I am new in android,I have getting two day error in GEoFencing class googlemap. so kindly provide better solution public class GeoFencingeg extends Activity implements ConnectionCallbacks,OnConnectionFailedListener,LocationListener{ …
Hemina
  • 375
  • 1
  • 11
0
votes
0 answers

onActivityResult for PlusOneButton

In Android, I am trying to use the g+1 in my App. On clicking the g+1 a pop up open with the button "OK", "Share" and "UNDO". I need to know what button user has pressed. Is it possible to capture it ?
0
votes
1 answer

Null Data Item From Wearable.DataApi.getDataItem

My wearable has an Activity that implements DataApi.DataListener, this Activity sends a message in onConnected() to the handheld to update the requested data. When the handheld receives this message, it gets the data from a server, and passes it to…
Bryan
  • 14,756
  • 10
  • 70
  • 125
0
votes
1 answer

Android Google Places Photos Search API not working on PlaceId returned from Place Search web service API

I have the following logic: Server side making Place Search web service call and gets valid unique cross Google maps API's PlaceId string. Check: Constructing manually URL for Place Details from him (returned PlaceId) returns the expected Place…
0
votes
1 answer

Android sign in asking repeatedly

I am trying to use GoogleApiClient and when I tried to sign in the application instead of sign in it repeatedly asking the choose the account.I am not able figure it out the…
0
votes
1 answer

Getting the the Latitude and Longitude by Android Google API

I want to create an android app that can gives me the Latitude and Longitude each period of time. I read about the new Android APIs and how to get the last location but I still don't know how to use it. I tried to use Google API to get the last…
0
votes
1 answer

APIs required for google sign-in on Android

I have been following this link to add a sign-in button in an android application and retrieve users basic profile information. How ever, it seems that I have accidentally disabled a required API from the Developers console and now the sign-in that…
0
votes
4 answers

android google sign in window doesn't pop again after logout

On my Android app I have a Google Plus sign-in button in my MainActivity. I use these lines in my onCLick() method: mGoogleApiClient = new GoogleApiClient.Builder(this) .addConnectionCallbacks(this) …