Birthday weekend

After some prodding from me, Missus H. organised a birthday dinner for me on Saturday this year. Bunch of my friends came and we ate lots of delicious food cooked by Missus H. herself. The cherry coca cola ham was soft and sweet, the roasted potatoes disappeared within minutes, so were the creamed spinach. Dan, my fellow TWer, bought me a bottle of port as birthday gift and we all enjoyed it from the blue plastic cups!
Birthday 2008 - 10Birthday 2008 - 09Birthday 2008 - 08Birthday 2008 - 07Birthday 2008 - 04Birthday 2008 - 02Birthday 2008 - 01Birthday 2008 - 06

Then on Sunday, Missus H. decided that I was 'allowed' to have my birthday present from her a day early. It turned out she bought me a iPhone 3G! So without further ado, we got out of bed, had breakfast, hopped onto the PATH train and visited Apple SoHo store to pick up my new phone.
Finally, last night we went to see David Sedaris at the Lincoln Center. He was as funny in person as he was in This American Life. He was not the skinny guy that I imagined him to be from listening to his voice alone, which proves the power of the radio.

A bit of contrast from last year when I was working in London and all I did on my birthday was to go to the Race of Champions at Wembley in below freezing temperature! I thoroughly enjoyed the racing but would much prefer to be not frozen solid in the process. And by the time I got back to central London, almost all the restaurants (i.e. not pub, Italian/pizza, or Subway) that I wanted to go were shut. Closed at the weekend by 9PM!

Read and post comments |
Send to a friend

Spit and Polish

A few months back, I started working on an iPhone app using the beta version of the iPhone SDK. Since then various things got in the way (not to mention the restriction of the old TOS placed on developers so everyone were working in the dark) and I didn't spend any time on it to really finish the app. My interest was revived when I attended the iPhone Tech Talk event in NYC last Tuesday. The sessions were interesting but nothing technical or coding. I learnt a lot more about the process of provisioning an iPhone for development testing and distribution, as well as how to submit app to the iTunes App Store. Most importantly though were that I was able to resolve issues around my personal's Standard and ThoughtWorks' Enterprise applications to the iPhone Developer Program. Now I am able to distribute and test my app on actual phone(s)!

Since Tuesday, I've been spending lots of my free time on polishing up the CCPhone app so I can start distributing it to the masses. One main change from the original vision is the colour theme change. This stems from the advice in the "iPhone User Interface Design" session, where dark colour theme is the preferred colour for apps that people use for short period of time (and possibly under the table/desk).

Another I've found is that the SDK has improved in many ways since the 2.0 days. Now it is easy to find the relevant sample code from the API reference documentation since the links to the sample apps are hyperlinked! There are also a lot more documentation on how to use various type of controls/classes in an advanced manner, much more than just the simple basis stuff. And from talking to all the Apple staff in the Tech Talk, I was impressed by how receptive they are to feedback. Even the really stupid stuff that they shouldn't have released in the first place.
And get this. I ran across a problem with the iPhone Developer Portal on Wednesday when I tried to set myself up with both my personal account and the ThoughtWorks' enterprise account. Somehow I was not able to switch between the two and when I un-assigned myself from the TW's account, I no longer had access to my personal one! With no recourse, I ended up sending an email to Apple and waited. That evening around 5PM, I got a surprise phone call from Apple inquiring about my problem. By that time, the problem had mysteriously resolved itself so I gave the lady on the phone my feedback on the Portal instead. Imagine that, someone actually calls the developer to resolve an issue!
CCPhone is just my way of dipping my toes in the water, testing the temperature. Now I need some more ideas for apps that I can work on.

Read and post comments |
Send to a friend

Build there, check status everywhere

I've been using the iPhone SDK since its original release way back in March. Many frustrating moment in the beginning but the recent beta 7 and beta 8 release proved to be ready for prime time. Apple has added many helper classes or helper methods to classes to make it far easier to work with the UI components, which is by far the most frustrating things I encountered. I am still having problem wrapping my head around the idea of Interface Builder but since the apps that I am building do not involve very complex UI, I just hand coded all the UI instead.

To illustrate, the original iPhone app idea I had that I started developing using the original SDK is a mobile application for Mingle. The application would consist of a series of table views showing projects, cards, and card details, along with some network code to talk to the Mingle server through REST API. At that time, progress was slow because of many factors. First, learning Cocoa/Cocoa Touch API and Xcode at the same time was tough. Second, the Cocoa Touch API was a bit 'primitive' in the beginning. What I mean is that while the API provides all the necessary hooks for developers to create an iPhone app it does not provide many pre-build components, making it difficult and required lots more work from developers to re-create the look and feel of the built-in iPhone apps.

I was so put off by the initial experience that I skipped beta 4-6 and did not open up Xcode until last weekend. And what a refreshing change with beta 7! Now it is straightforward to make an app that looks and feels just like an Apple's one. I was so fired up that last Sunday evening I decided that I would try to create an app for an idea that one of my fellow ThoughtWorker suggested to me. Instead of days of tearing my hair out and got no where, I was able to create a almost features completed app within hours, using beta 8.
So what is this app? It checks the build status on the CruiseControl server. Just like CCTray (Windows) or CCMenu (OS X), it allows users to monitor their software build status. Following the convention, I am calling it CCPhone. The app isn't more complex than the Mingle app but the fact that I was able to almost match the productivity I normally get on my Windows development environment means that I was excited about working on the app rather than dreading it.
Now here are couple of screen shots:
ProjectProjectDetails

To-do:
  • Fix the build time being 1 hours off (probably day time saving bug)
  • Better status icons
  • Create application icon (currently it uses icon from CCMenu)
  • Finish coding the 'Force Build' functionality
  • Add startup screen bitmap (so it won't be just a black screen)
  • Add auto detect of CruiseControl server (Java, .Net, or Ruby)

Read and post comments |
Send to a friend

Windy tennis

My Flip Video (I have the 2GB/60 min, black) arrived last week and I finally got the chance to play with it today. Unfortunately the weather didn't cooperate. Dan and I had to deal with 15-20 mph wind while trying to film our tennis swings. You can hear the wind noise in the background, it's kind of hard to miss! Here is a short clip of what we did:

You can see the full version (17:07) on Vimeo.
Transferring the video clips from the Flip to my Mac was a breeze. The Flip appears as a USB drive when plugged in so I can just copy the files across to my hard drive. Editing is a little tricky. The Flip uses a DivX MP4 encoder so the video files are not recognized by iMovie '08. After some Googling and experimentation, I decided to fork out some hard earned cash and got a license for QuickTime Pro. QTPro exports the clip to standard MP4 easily and quickly, utilizing all 4 of my MacPro cores. And editing in iMovie '08 pretty easy too. I was able to put this short clip together in about 5 minutes, even though I have no prior experience with iMovie '08 or video editing. It would be perfect if Apple fixes iMovie so that in the future it would just recognize the Flip video without any transcoding.

Read and post comments |
Send to a friend

Dev Chair : iPhone SDK experience – Download Squad

Read and post comments |
Send to a friend

Website Built with WordPress.com.

Up ↑