I’ve decided to give a try to Android — the new Google mobile phone OS released last week — and to really have a taste of how it works, I wrote a little application for it.
TwitterDroid is an app designed for Android that lets you read and publish to your Twitter, it’s a kind of port of Twitterific, the excellent app for MacOS X.

TwitterDroid is an early alpha stage software but it’s already functional — you can read the latest 20 tweets from your friends and publish a post to your own timeline.
The app still lacks configuration, robustness and notifications — but it only took me a few hours to make it work, starting from scratch with the Android SDK.
A Taste of the SDK
As far as I can tell, Android is a pleasant and well-thought SDK with everything you can expect to write modern apps. Actually I found lots of similarities in concepts with Apple’s Cocoa (e.g.: the ways Views works and how you can animate transitions).
Android’s Java is really compliant with J2SE and I could have imported some code without any problem. Having integrated a complete J2SE stack in Android (and not J2ME) is a big win — even if you have to learn yet another set of APIs, it’s not really a big deal because most of them are already a standard (e.g.: OpenGL ES and J2SE itself).
That said, the documentation of Android is a bit of a burden, it’s not complete and you have to dig into samples to really understand how it works and how to structure your code; get ready for trial and error sessions.
What’s interesting though is that I found in the Android JAR more packages than the ones documented — the SDK is about 300 packages. Google has already provided packages for accessing Google services (e.g.: GData, Google Maps with Street View) out of the box.
What’s Next?
TwitterDroid needs a little more polish before release, but since the first hardware running Android will be only out in Q4 2008, I guess I have some time left.
Running TwitterDroid in an emulator has absolutely no interest in the short term and might not the be killer app Google is looking for the Android Developer Challenge.
But it’s fun to write anyway.
Many thanks to Florent for the logo.

CTO at 



Comments
Nice work! …is the source available anywhere?
Chris Messina18 November 07 at 5:20 pm
Nice work! …is the source available anywhere?
Chris Messina18 November 07 at 6:20 pm
Thanks Chris,
The source code is not yet available, I’ll polish the application (understand debug) before making any release.
Frederic Brunel18 November 07 at 11:10 pm
Congrats Franck, can you show any video on the first version of TwitterDroid ?
OlivierSeres18 November 07 at 10:57 pm
Congrats Franck, can you show any video on the first version of TwitterDroid ?
OlivierSeres18 November 07 at 11:57 pm
nice work Fred, very impressive
can wait to try it!
macournoyer19 November 07 at 10:34 am
nice work Fred, very impressive
can wait to try it!
macournoyer19 November 07 at 11:34 am
[...] days after Google launched the Android SDK, Fred Brunel finished TwitterDroid, an Android application that updates Twitter on your Android-enabled cell [...]
TwitterDroid - an Android app for Twitter | Montreal Tech Watch19 November 07 at 12:15 pm
Nice! I’ve focused on their WebKit-based browser so far.
Stephane Daury19 November 07 at 12:29 pm
Nice work Fred. Do you have a packaged app to try out for those of us who already have the Android Emulator installed….
Martin Dufort19 November 07 at 11:35 am
Nice work Fred. Do you have a packaged app to try out for those of us who already have the Android Emulator installed….
Martin Dufort19 November 07 at 12:35 pm
Thank you all for the nice words,
The app is not yet packaged, I still need to fix some annoying bugs (and understand some specific Android features) before releasing a version.
Frederic Brunel19 November 07 at 8:08 pm
Thank you all for the nice words,
The app is not yet packaged, I still need to fix some annoying bugs (and understand some specific Android features) before releasing a version.
Frederic Brunel19 November 07 at 9:08 pm
@stephane, I’ve played with the WebView and it work as advertised, nothing more.
Let me know if you catch something interesting by the way.
Frederic Brunel19 November 07 at 9:10 pm
What did you use for the Activity class? ListActivity?
I am trying to come up with a such UI for my own twitterdroid (a icon, and a text near it). First thing came to my mind is a custom ListActivy layout and an ListAdapter for its data.
necrodome20 November 07 at 2:54 am
What did you use for the Activity class? ListActivity?
I am trying to come up with a such UI for my own twitterdroid (a icon, and a text near it). First thing came to my mind is a custom ListActivy layout and an ListAdapter for its data.
necrodome20 November 07 at 3:54 am
I’ve just used a basic Activity with a ListView. I don’t understand the interest of ListActivity by the way.
Frederic Brunel20 November 07 at 10:32 am
I’ve just used a basic Activity with a ListView. I don’t understand the interest of ListActivity by the way.
Fred Brunel20 November 07 at 9:32 am
Here’s my version: http://davanum.wordpress.com/2007/11/21/twitter-client-for-android-how-to-make-xml-over-http-calls/
Davanum Srinivas21 November 07 at 11:34 am
Here’s my version: http://davanum.wordpress.com/2007/11/21/twitter...>
Davanum Srinivas21 November 07 at 10:34 am
@Olivier — Just discovered that your comment was in my spams. I’ll do a screencast for Twitterdroid.
Frederic Brunel25 November 07 at 3:10 pm
@Olivier — Just discovered that your comment was in my spams. I’ll do a screencast for Twitterdroid.
Fred Brunel25 November 07 at 2:10 pm
[...] first public alpha of TwitterDroid is out. TwitterDroid is a clone of Twitterific designed for [...]
Fred Brunel » TwitterDroid Public Alpha Released27 November 07 at 2:20 am
[...] client. TinyTwitter is doing a bang-up job on windows mobile and java phones. Twitterdroid looks promising and was recently open [...]
rishel.org » Android Ponies16 September 08 at 8:51 am
[...] TwitterDroid [...]
Best Android Applications: Top 15 android applications which could make it big! || Technology Nerd18 October 08 at 2:46 pm
[...] are actually three other Twitter apps in development for Android, as shown here – TwitterDroid, Trak, and one that isn’t really named, by Davanum [...]
Impressions of Twitroid | Microblink23 October 08 at 1:49 pm
Leave a comment