Questions tagged as 'google-api-client'

4
answers

How to get the current location of the android device?

I'm developing an android application that needs to get the current location of the device (Latitude, Longitude) and use this data in google maps ... how can I do this? If you help me get only the latitude and longitude coordinates, it will be a...
asked by 21.04.2016 / 15:58
2
answers

The location obtained by getLastLocation () always returns null [duplicate]

I'm making several attempts, but I can not get a user's current location using the Location API . I'm running the following example: public class MainActivity extends AppCompatActivity implements GoogleApiClient.ConnectionCallbacks,...
asked by 20.08.2016 / 19:26
4
answers

How to get the current location of the android device?

I'm developing an android application that needs to get the current location of the device (Latitude, Longitude) and use this data in google maps ... how can I do this? If you help me get only the latitude and longitude coordinates, it will be a...
asked by 21.04.2016 / 15:58
1
answer

Firebase Login using GoogleSign

I'm trying to login to the application on Firebase through GoogleSign this way: import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.v7.app.AppCompatActivity; import android...
asked by 11.05.2017 / 20:20
1
answer

Import dependency google-api-client

Good morning! I'm trying to import google-api-java-client from github to my Android project ; I'm using AndroidStudio , and follow my build.glade apply plugin: 'com.android.application' apply plugin: 'maven' android {...
asked by 12.08.2015 / 15:19
0
answers

Google API authentication issues in Ruby

I'm developing an API in Ruby that communicates google-api-ruby-client but when I try to authenticate I get some errors. example of my code: class GoogleService require 'googleauth' require 'signet/oauth_2/client' require 'goog...
asked by 13.08.2018 / 23:37
0
answers

Plus.PeopleApi can not connect

I'm developing an application that will create, read, and update some documents in Drive . In NavigationView , I would like to identify the User account. The same way it is done in the Google Play or Play Music app....
asked by 09.03.2016 / 20:40
2
answers

App stopping while using the Location API

This code would be used when the user pressed a button, its latitude and longitude were found and later sent to a server. But the app crashes when it starts, remembering that I got this code from a post here in SOpt. The error you give is thi...
asked by 19.09.2016 / 20:46
0
answers

Google Client API - Inserting Goals in Analytics

How well with you? Well, I do not know if anyone has already gone through this, but let's ... Within the Google Analytics dashboard, you can create Goals that are events that track the conversions that are performed on your site. So far this...
asked by 13.06.2018 / 15:55
1
answer

I do not know how to get latitude and longitude using GoogleApiClient

I'm developing an android app using Kotlin, I followed a tutorial on a topic from here, however it took the last location that was saved, not latitude and longitude, which is what I need. Here is the code: class InserirAbastecimentoActivity :...
asked by 08.05.2018 / 15:56