Reputation: 5794
How can I display a twitter feed In Android programmatically?
Upvotes: 0
Views: 2729
Reputation: 1082
Please be more specific of what you want to do (maybe what your motivation is), what you know/tried already and where exactly you are stuck. It makes answering your questions easier.
Having said that, I see two main aspects of what your app should do:
I guess how building Android apps and user interfaces works is something you already know to some extend (if not this is a separate question).
So what is missing is a way to communicate with the twitter server and retrieve the tweets. For tasks like that (not only twitter) there are usually APIs defined and you can find libraries to do most of the hard work for you.
In this case a web search for "twitter api android" leads you to twitter's list of available Twitter libraries, sorted by language. Android programming is usually done in Java. In the list you find three Java libraries to choose from, with one explicitly mentioned as Android compatible: twitter4j (under Apache license).
Have fun playing around with that one. The section "code examples" might be worth a look as well.
Edit: Twitter API ME is also android compatible (and GPL / LGPL licensed). And there is TwAPIme, an app demonstrating its features, with source code available (for download link and license see end of description in Google Play).
Upvotes: 5