Best way for social sharing in Android - android

I've been looking for a way to share information to social networks. I've found 2 possible solutions:
Look for installed apps and sent an intent (like android uses in it's gallery)
Use the socials network api
When looking for quick ways to implements i say use the installed apps for that but if it goes customization and generalization i think the second option is the best.
I've a hard time deciding if one outweighs the other or not.
So my question is: What is the best approach? One of the ones i suggested or a whole different way?

The Android OS uses intents to do this...
While searching for an answer to this question I came across:
Social sharing on mobile
Quoting #NewProggie
Intent share = new Intent(Intent.ACTION_SEND);
share.setType("image/jpeg") // might be text, sound, whatever
share.putExtra(Intent.EXTRA_STREAM, pathToPicture);
startActivity(Intent.createChooser(share, "share"));
Depending on the MIME type you put in for setType, the chooser will show email, gmail, SMS, twitter, facebook, flickr, or whatever!
This is the easiest way to share content for the developer, and a proven method.

I have worked with the Facebook API and I know that it's a really good one. It looks if a native Facebook app is installed, if not it pops a little popup on your screen where it does it things, if yes, it uses that app to do your things.
I think you have to take the same approach for all your Social Networks: check if app exist. if yes, use. if no, use own implementation

You might also check Socialize out http://www.GetSocialize.com . Full feature list at http://go.GetSocialize.com/features It'll let you share social actions in the app out to social networks (currently Facebook; Twitter coming this month, then likely Google+ after that).

What about the case when user does not have specific social network API installed? Then you are left with only using the API. Some might argue that if user doesn't have facebook app installed, he should not be able to share stuff on facebook, but I for example use facebook throught their mobile site, I won't waste precious space on my G1 for the hefty facebook app.
I'd go with using the API.

Related

Standard way to share and print items in PhoneGap

I'm writing mobile application using PhoneGap.
This app intent to be installed on Ipad and Android Tablets.
I've HTML page which I need to implement two features on it:
Share (with other apps - such email, WhatsApp, Facebook, Twitter etc) and Print.
I would like to know what is the best way to do it.
In addition which format is the best to use in order to Share and Print (PDF? Other?)
Thank you,
Moshe
heres the plugin for printing, and theres plugin for sharing

Integrating Instagram to android

I am new to instagram concept. Is there any sdk available for to integrating instagram to our application. I want to share images to instagram through my application as like what i share to facebook from my application.
you cannot post images to instagram from other applications.
Here’s some text from the very bottom of:
http://instagram.com/developer/endpoints/media/
At this time, uploading via the API is not possible. We made a conscious choice not to add this for the following reasons:
Instagram is about your life on the go – we hope to encourage photos from within the app. However, in the future we may give whitelist access to individual apps on a case by case basis.
We want to fight spam & low quality photos. Once we allow uploading from other sources, it's harder to control what comes into the Instagram ecosystem. All this being said, we're working on ways to ensure users have a consistent and high-quality experience on our platform.
There is no specific api to integrate instagram to Android application. But we can pass the intent in order to share the images if the device installed instagram.

Implement Android Share

I've seen plenty of example where people are sharing content from their application but I want to be able to share content with my application e.g. Users can press share via then Twitter.
Does anybody know any tutorials or guides? Also would you be able to share with a service? Would be a great feature to include :) Thanks
P.S. I dont want to share with Twitter/ Facebook, I want to share from apps like the browser to my app.
Have you looked at these Developer docs?
It has an example code snippet.
You can either use the SDK's / API's available for Facebook and Twitter or else you could use Intent.ACTION_SEND to share text and images to the walls at Facebook and Twitter...

Social sharing on Android

So sharing on social channels is a hot topic these days.
I have done some research on how to share to Facebook, Twitter, LinkedIn and G+.
Lets start with an example.. I want to share text, and an image to 4 social channels (Facebook, Twitter, LinkedIn and G+), but without the user adding more text.
My findings so far:
You can use Intent.ACTION_SEND but there are a lot of limitations like:
You need to make your own chooser if you want to filter the social channels
Sending text and image is not possible without the user adding more text
Using default social channel APIs, but:
Can be overhead, you only want to share.
Are not always stable.
There are some open source libraries you can use, but they are not as complete as you may think
Use paid services (do I need to say more...)
So in conclusion, I need help. What is the way to go?.
You don't need to do anything for the Intent.ACTION_SEND. Specifically because the apps listed are meant to handle this intent.
This should be perfectly fine because you'd rather have the user's choose what they'd like to share it on then constrain them to one. I'd say if you're looking to share then stick with the standard on android and use ACTION_SEND.
You can't expect the user to have Application A when they may prefer using Application B. Don't think in terms of constraint.
Also as your comment about the limitation of ACTION_SEND.. I'd recommend re-reading the documentation because I don't see that limitation anywhere:
http://developer.android.com/reference/android/content/Intent.html#ACTION_SEND
You can use SocialAuthwhich supports 10 social providers and it provides you functionality's like share text , upload image , get albums , feeds etc.

Is there a way in which Pinterest can be integrated with an android Application

I wish to drop pins or view the photo's which are of my interest in my Android Application, do we have any SDK by pinterest , as I would want to integrate the same inside my Android Application.
Any suggestions would be like a boon
http://developers.pinterest.com/android/
This is for others who might want to get started with pinterest and land in this page.
It seems like the answer is "not yet"... But go and sign up with them, I'm sure it's on their radar and will come soon enough if it's in their basic FAQ.
https://support.pinterest.com/entries/21151603-i-m-a-developer-does-pinterest-have-a-public-api
Another option (or just for the meantime before they release an official API) may be if the official pinterest app offers an intent for sharing? Plenty of other social web entities like twitter, facebook, etc give intent based access in their official apps, that let you dump media, links, etc into them from other apps in the system, and have the information posted to your accounts.

Categories

Resources