Jack Dsilva
Jack Dsilva

Reputation: 1514

How to integrate google plus to Android application

I want to know how to integrate google plus in my app. Currently I am developing news application, in which I would like to have a news sharing option for things like facebook, twitter, gmail, and google plus. How can I achieve this functionality?

Upvotes: 1

Views: 1203

Answers (2)

brillenheini
brillenheini

Reputation: 5453

You can easily share to Google+ with ShareCompat, you only need the support library for that.

http://googleplusplatform.blogspot.co.at/2012/05/sharing-rich-content-from-your-android.html

Upvotes: 0

adamp
adamp

Reputation: 28932

Sharing the Android way doesn't involve integrating services one by one. That would require you to update your app any time a new service launches that you might want to integrate with. Instead you use the ACTION_SEND Intent.

This blog post gives a good intro to its use: http://sudarmuthu.com/blog/sharing-content-in-android-using-action_send-intent

When you implement sharing this way your users can share using any app they have installed on their device. If they install a new app that can accept sharing intents your app will immediately be able to integrate with it with no changes from you. The Google+ app accepts these sharing intents.

Upvotes: 4

Related Questions