Data I/O in iOS

April 20, 2011

I noticed a strange lack of high performance I/O routines in Objective-C. All I see is: Bulk I/O. E.g, contentsAtPath of NSFileManager or writeToFile of…

Uninstalling XCode

March 11, 2011

I am getting ready to install XCode 4. First, I wanted to uninstall XCode 3.2. Here are the steps. Open a terminal window. Change to…

Understanding Memory Management in Objective-C

February 15, 2011

Mac OS X now has support for garbage collection. But that facility is not available in iOS yet. Only reference count based memory management is…

Decompile Android’s DEX File

October 18, 2010

Android uses a DEX archive in place of JAR. Also, the Java classes are compiled differently. To decompile the classes, you need to go through…

Get Started With HTML5 Webinar

October 6, 2010

The webinar today was a huge success. We had about 300 attendees. There were many excellent questions. You can download the presentation and sample code…

Long Running Work in Same Thread

September 29, 2010

By default, in Android, a single thread is used to run every application component, such as Activity and Service. If you perform a long running…

Custom Toast with Border

September 28, 2010

In Android, a Toast is a great way to show popup notification to users. It can be used by a background service, which otherwise has…

Making Equal Width Buttons in Android

September 27, 2010

It is a common requirement to layout a bunch of buttons side by side. Making them of equal width is just plain good GUI design….

Android 2.x Programming Course Announced

July 2, 2010

As promised in an earlier blog post, we have just announced our first Android programming class. WA1921 Enterprise Android Application Development From the web page…

Getting Started With Android 2.2

June 29, 2010

I have often found that Google’s quick start guide for Android development lacks crucial details. Finally, I decided to do something about it. This tutorial…