Showing posts with label development. Show all posts
Showing posts with label development. Show all posts

2008-02-25

CRbus



In my previous post, I mentioned I was working on an app for the iPhone. It's done and here it is. It's called CRbus and is an iPhone optimized view of the Cedar Rapids public transit schedule.

The app took about an hour from start to finish thanks to the great iUI framework. The data in the app took much, much longer. At the start I wrote a quick Perl script to take pasted data from the official PDFs and package it for inclusion in the app. That worked fine, other than there were a bunch of special cases in the data that I didn't want to spend the time handling in my code. I didn't think this would be a big deal, and it wasn't, until I got to those special cases and found I need a lot of hand tweaking of my data (boo). That's all done and the app is ready for use.

If you want to give this a try, you don't have to have an iPhone. Firefox and Safari will run it fine. Just hit the CRbus URL and then drag your window into the shape of an iPhone (hint: tall rectangle) to get the experience. You start with a list of routes. Follow a route to get a list of stops. Follow a stop to get the times. You can follow the bread crumb arrows at the top back up the tree.

This is just a bare bones version of what the app could be. Obvious features would include Google Maps and Transit integration, syncing with the clock in the iPhone, and even (currently disabled) next/previous stop jumps that you'll see at the bottom of the pages. We'll see if I ever get motivated to add any of those :)

2008-02-20

Hello World - iPhone Style

I'm excited about mobile development again. I'm eagerly awaiting the iPhone SDK and while I wait, I figured I'd at least try some iPhone development in its current, web development, form.

I'll post about what I made in a future post. For now, I just wanted to link to some of the things that got me going.

Apple has some great developer resources, including the iPhone Dev Center. I'm not sure why they hide them all behind a login curtain, but they do. Once you create (or buy) an ADC login, you can access 2 hours worth of videos about iPhone development. The videos range from UI elements to how to simplify your app for smaller form factors. Even if you have no interest in Apple and the iPhone, you might enjoy the usability aspects of the talks. Most of the concepts apply to Windows Mobile, Palm, Symbian, and other mobile development. If you watch and it all seems like common sense to you, good, you are better off than most developers that build UIs.

If you're ready to start building right away, look no further than iUI. iUI is a great framework to build web based apps that look native to the iPhone. Within an hour, I was able to build a great looking, highly functional, app using iUI. I tweaked the included CSS a bit to include some further button samples I found at the iPhone Dev Center. Thanks go to Joe Hewitt for his work on iUI.

Finally, if you want to follow some discussion and get some links to other apps people have built for the iPhone, head over to the iPhoneWebDev Google Group.

Tick tock on the SDK clock.