Archive for the ‘Programming’ Category

Fix: Android Null Pointer Exception

Saturday, February 26th, 2011

For a while, the error message while compiling the android app gave me the following error: java.lang.NullPointerException at com.android.ddmlib.Client.sendAndConsume(Client.java:572) at com.android.ddmlib.HandleHello.sendHELO(srcfile.java:142) at com.android.ddmlib.HandleHello.sendHelloCommands(srcfile.java:65) at com.android.ddmlib.Client.getJdwpPacket(Client.java:671) at com.android.ddmlib.MonitorThread.processClientActivity(MonitorThread.java:317) at com.android.ddmlib.MonitorThread.run(MonitorThread.java:263) The app runs fine, but it is annoying to see the DDMS error message. Finally, today find a fix. It is a simple fix too... In the AVD, enter ...

A Successful Web App

Friday, November 12th, 2010

Facebook is successful not only because it brings the social experience to the web, but it is a platform that people tends to stay in the website for a long time. First it provide live status update for friend feed, then it provides live chat. Farmville and Restaurant give people ...

Twitter

Tuesday, November 25th, 2008

Twitter started off with a small project, now it becomes bigger and bigger. People now prefer to write 140 characters than to write a blog post. The "quick" approach from twitter definitely suits nowadays culture, fast information. Twitter is going to be big, but it is not going to be big ...

Code Syntax

Tuesday, September 9th, 2008

I just added a code syntax for easier to read code on my blog. Just testing it out. < ?php function foo() { } class fooish() { var $test; function fooish() {} } ?>

WordPress for iPhone

Tuesday, July 22nd, 2008

I admit, I was sort of disappointed when the out of stock iPhone are unreachable. I was on my look to look for an alternative. However, this gives me a reason to get an iPhone. WordPress for iPhone. The iPhone 3G is not about the 3G, it is about the App store.