Facebook和Twitter活饲料的Android应用程序 [英] Facebook and Twitter live feed in Android applications
问题描述
我要显示在我的Android的应用程序的实时饲料Facebook和Twitter的。 就像在这个页面。 espn.com 。那怎么办?
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?
我应该去的HTML,CSS的机器人。??
Should i go for html , css in android.??
感谢
推荐答案
我想你应该下载Facebook的API和Twitter的API,只是创建您填充的数据视图一个不错的常规布局。例如。一个简单的ListView或滚动型,你有一些文字和图片(如果有的话在后),使用适配器添加模板视图。这样,你可以使它看起来excactly你想要的方式,这也很简单。有教程如何使用的网站的API <一href="https://github.com/facebook/facebook-android-sdk">https://github.com/facebook/facebook-android-sdk和<一href="http://apiwiki.twitter.com/w/page/22554648/FrontPage">http://apiwiki.twitter.com/w/page/22554648/FrontPage.
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屋!