[英]Android sharing without having app (e.g., Facebook) installed
I want to share something via LinkedIn, Facebeook, Twitter, and email apps. 我想通过LinkedIn,Facebeook,Twitter和电子邮件应用程序共享某些内容。 If the user does not have these apps installed, I want to open the sharing service in a browser. 如果用户没有安装这些应用程序,那么我想在浏览器中打开共享服务。 To do this, can I stick to the Android SDK? 为此,我可以坚持使用Android SDK吗? If so, how would I implement the case in which the user doesn't have the app installed? 如果是这样,我将如何实现用户未安装应用的情况?
You can do that simply by using the SDK of the relevant social media system. 您只需使用相关社交媒体系统的SDK即可做到这一点。
In the case of Facebook, you would need to package the Facebook SDK into your App and use it directly, as opposed to sending an Intent to the Facebook App. 对于Facebook,您需要将Facebook SDK打包到您的App中并直接使用它,而不是将Intent发送到Facebook App。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.