April 5, 2014
April 5, 2014
September 21, 2013
This is my first post in this new found freedom. Jekyll and ability to self-host!
August 26, 2013
After over 4 months of my first notorious “death march” our team can at last have life. I finally have time to write a custom component for my future use. It is a customized TextView with a few customization on the function that trim down excessive characters. Suppose the UI can only display a limited lines of characters by specifying android:maxLine attribute, The TextView can be clicked to show the whole text. Also the ellipsis (…) at the end of the text while trimmed, aka ellipsized, can be customized.
March 30, 2013
Personally I think this is a very bad decision. But I have not tried hard enough to convince people it is a bad idea.
January 25, 2013
Recently our company needed to unify the whole app into one locale, we have faced obstacle in making the DatePickerDialog to use app locale instead of system locale. In case you don’t want to read my story of finding, you can directly download it. For the patience, here is the long story.
November 11, 2012
One of the recurring problem of developing Android application is the notorious back stack. In our application, we firstly following the o’almighty advice of Google and following the advice religiously.
October 28, 2012
In my recent development, I have received a requirement to put Spinner inside a PopupWindow. I expected an easy task. When the popupwindow is shown, there was no error whatsoever. But whenever I click on the spinner, the program F.O.R.C.E.D C.L.O.S.E.D. (On a side note, Forced Close should be replaced by a swear word). The logcat gives a BadTokenException and asked if my Activity is still running. You must be kidding me, I was calling the Spinner when the Activity is running, and of course it is in the UI thread. I am not able to pinpoint the problem, and Google doesn’t really help much this time. I was forced to use my brain at last. I was excited.
July 12, 2012
When I am doing system Design, there are some recurring problems. One of the problem is to represent status of certain records. Take an example of a transaction table.
July 4, 2012
Recently many software gurus(e.g.: [Jeff Atwood](http://www.codinghorror.com/blog/2012/06/the-php-singularity.html & Fabien Potencier) whom I admired debates how good/bad PHP is. Some criticized, with strong technical reasons that PHP should be cast to hell and leave them rot like what we did to COBOL. I wholeheartedly agree with them. PHP is simply not suitable for large projects. My experience with plain PHP, Wordpress and Drupal makes me want to strangle myself over and over.
June 9, 2012
This post is full of ignorance. But my main point still stand.