Facebook和Twitter在Android应用程序中直播 [英] Facebook and Twitter live feed in Android applications

查看:228
本文介绍了Facebook和Twitter在Android应用程序中直播的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的Android应用程序中显示Facebook和Twitter的直播。
就像这个页面一样。 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆