Facebook和Twitter在Android应用程序中直播 [英] Facebook and Twitter live feed in Android applications
问题描述
就像这个页面一样。 espn.com 。如何做到这一点?
我应该去html,css在android。
感谢
我想你应该下载Facebook API Twitter API,只是创建一个很好的常规布局的视图,您填充数据。例如。一个简单的ListView或ScrollView,您可以使用适配器添加一些文本和图像(如果在帖子中可用)的模板视图。这样你就可以按照你想要的方式看起来很简单,而且也很简单。有关如何在网站上使用API的教程 https://github.com/facebook/ facebook-android-sdk 和 http://apiwiki.twitter.com/w / page / 22554648 / FrontPage 。
I want show the live-feed of Facebook and Twitter in my android-applications. Just like in this page . espn.com. How to do that?
Should i go for html , css in android.??
Thanks
I think you should download the Facebook API and Twitter API and just create a nice regular layout of views that you populate with the data. E.g. a simple ListView or ScrollView that you add a template View with some text and image (if available in the post) using an Adapter. That way you could make it look excactly the way you want to and it's also quite simple. There are tutorials for how to use the API on the web sites https://github.com/facebook/facebook-android-sdk and http://apiwiki.twitter.com/w/page/22554648/FrontPage.
这篇关于Facebook和Twitter在Android应用程序中直播的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!