Data I/O in iOS
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
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
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
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
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
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
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
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
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
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…