WTF: Why I Built My "Blog App" for Android

A few weeks ago I wrote post demonstrating how to turn your blog into an iPhone App with a few easy steps, using the Phonegap approach, along with Apple’s Dashcode development tools.

Today I am happy to announce that I’ve used the same approach to develop and release an app for the Android platform, which you can download today on your T-Mobile G1. Just search for “nathan” or “open ideals” in the Android Market.

the launcher with my face

Now, as always, there are plenty of haters in the market comments for my app, most people having no idea why some dude is “shamelessly promoting” himself or calling the app “spam”. To be honest, I don’t really want or expect random people to download my app… I just want it there so I can demonstrate the possibilities of linking together a few cool pieces of tech to build a rich mobile application….

I agree that my personal blog may not have much use for the average G1 user, but imagine the possibilities… perhaps in a more functional application, you could integrate a WebView component into it, that points to a mobile-enabled user support blog. Maybe you want to create a blog that can react to a users geographic location… use phonegap to submit the GPS coordinates to your wordpress system, and present the relevant posts. Instead of thinking about this is as a “blog app”, think of it as a quick launch into a searchable, dynamic content platform… plenty of interesting applications for that architecture!

Quick Rundown of the Tools Used

1) Phonegap – a native wrapper for the webkit browser on the iPhone and Android platforms… basically allows you to build webapps, but distribute them as native code through the App Store and Android Market. Learn more at phonegap.com

2) WordPress – a great, simple CMS that has support through themes and plugins for rendering in a mobile friendly format. I used the WPtouch theme for WordPress, which makes any WP install look fantastic on iPhones, iPod Touches and of course Android.

3) Eclipse – You pull all the code together using the Android SDK with the Eclipse IDE. What’s great about this is that Eclipse allows you to develop both your Android app and your Web app side-by-side… so you can hack your web code, customize your mobile themes, etc, all while glueing together your phonegap app. It is a great seamless experience, and a perfect way for a web developer to transition into being a “mobile app” developer.

Here’s some screenshots of the blog app in action…

blog app splash screen

blog app posts

blog app menu

12 comments

  1. Nice! We didn’t have any test devices but were told by someone who had hacked WPtouch that it looked good on Android, so we added (limited) support. Good to see it in the flesh!

  2. Can you share your source?
    I would love to learn to program for Android. I have one and I am an expert at PHP.

  3. Hi I was just wondering if u or anyone u know could change the call log on the g1 like the one the t mobile wing has where u can search for out going calls missed calls sent ect….. and delete a list of the same number instead of scrooling down 1 by 1 thanks

  4. nathan, does this solution allow you access to some of the native api functions, such as taking a photo, recording audio, etc? or is the prime advantage, app store and other app store-like distribution?

  5. Be, this allows you to access all the native functions you want… PhoneGap provides a standard javascript library for these, with base support in for geolocation, photos, audio playback, accelerometer, and the ability to hack in any additional functionality you need due to it being open-source.

  6. Thanks a landlord it! I acquired yet some insight. Life is so colorful, we should be able to live in, such as Korea and honor the planet. Human life is like rivers, slowly flowing, flowing rivers, flowing through the snow, flows through the prairie and ultimately into the sea, return to the embrace of nature, start a new reincarnation. Allow us to feel the meaning of life will come only to those you have those memories http://www.chaneloutletstores.com/chanel-travel

  7. I certainly love reading all that is written on your website. Its opportunity are so fantastic and working style so speedy. This is a really good read for me. It help me very much to solve some problems. I am very enjoyed for this blog.
    replica watches
    discount watches

Leave a comment