在Android的社交共享的最佳方式 [英] Best way for social sharing in Android
问题描述
我一直在寻找一种方式来共享信息,以社交网络。我发现2可能的解决方案:
I've been looking for a way to share information to social networks. I've found 2 possible solutions:
- 查找已安装的应用程序和发送的意图(就像它的画廊Android使用)
- 使用社交网络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?
推荐答案
我曾与 Facebook的API 工作我知道,这是一个非常不错的。看起来如果安装了原生的Facebook应用程序,如果没有它会弹出一个小弹出你的屏幕在那里做它的东西,如果是,它使用的应用程序做你的事情。
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
这篇关于在Android的社交共享的最佳方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!