Fix: Android Null Pointer Exception

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 some value to the SD Card size. Then the problem goes away…

Now I am happy…

Hello 2011 – Update #1

February 25th, 2011

Update #1.

1. Goodbye MSN, hello GTalk. – Done.
2. Goodbye iOS, hello Android. – Done.
3. Less Facebook, more Twitter. – Done.
4. Goodbye procrastination, hello completion. – In progress.
5. Goodbye layback, hello motivation. – In progress.

Faith: Doing Exactly What Jesus Says to Do

February 15th, 2011

I felt like blogging about the devotion today.

I have been using the devotion guide from The Purpose Driven website, which sent to me through email daily. Today’s devotion can be found in the following link.

http://profile.purposedriven.com/dailyhope/post.html?contentid=5831

I agree with the author that we must pay attention to the detail when Jesus tells us what to do.

At the same time, I have one more reflection on this passage John 9:7–8.

It is important that I admit the problem that I have.

Fully surrender to Jesus and do exactly what Jesus asks me to do. If I want to change, I must admit and confess to Jesus openly. Sounds simple, but how often can I do this? I must act accordingly.

Mysterious Search Result From Bing

February 1st, 2011

A shocking news came on the Internet today about Microsoft Bing and Google Search.

Google displayed how Microsoft using the search result from Google. In another word, Google charged Microsoft for being a cheater.

So far it looks really bad on Microsoft. The evidence shown by Google leads me to believe Microsoft did what Google said of them.

Official from Google:
http://googleblog.blogspot.com/2011/02/microsofts-bing-uses-google-search.html

有一種快樂

January 2nd, 2011