Search code examples
androidgoogle-mapsandroid-locationgoogle-latitude

Send users new location to Google Latitude API via Oauth2.0


Im currently working on an app that will request GPS location updates. I have successfully implemented it as well as the latitude API and OAuth 2.0. It seems like the latitude API only reads the users last google latitude update. I dont know how to insert a new update into the latitude API.

An example would be https://play.google.com/store/apps/details?id=gaugler.backitude&hl=en They are able to insert new gps updates directly to google latitude.

How can I achieve this?


Solution

  • This can be done with the current location insert() API call:

    https://developers.google.com/latitude/v1/currentLocation/insert