Brock Gibson
Brock Gibson

Reputation: 41

Android - Is there a way to specify a location when sharing into Google+ app?

I am developing an app that allows the user to share an image to Google+. When I share the image into Google+ from my app, I want to be able to specify the location associated with the image (not the user's present location as set by Google+). Is there a way to do this? I.e., by setting some extra? Thanks!

Upvotes: 3

Views: 113

Answers (3)

BrettJ
BrettJ

Reputation: 6851

Currently, it is not possible to prepopulate the "Location" portion of a post on behalf of the user. If the user previously used the location field, it will be enabled for subsequent posts. If they turned it off, they would have to reenable it for subsequent posts.

Upvotes: 0

pbaumann
pbaumann

Reputation: 627

If I remember correctly, images shared with Google+ need to be done via a ContentProvider. If you aren't already, can you add the LATITUDE and LONGITUDE columns to your content provider?

http://developer.android.com/reference/android/provider/MediaStore.Images.ImageColumns.html

Upvotes: 0

Sreedev
Sreedev

Reputation: 6653

When ever user takes an image thruogh your app,take the corresponding Geopoints simultaniously and save it to a db. Whenever the user try to upload the photo take the corresponding Geopoints associated with the imagepath and post it to G+ I hope this will be a good possibility to solve this problem.

Upvotes: 1

Related Questions