Recent Posts

  1. Gradle DSL from developer perspective

    Gradle is the official build tool for Android. Compared with Maven, it’s more dynamic so developers can easily define...

  2. Avoid Runtime.exec in UI thread

    Several days ago I saw a ANR during monkey test. The ANR trace looked like this."main" prio=5 tid=1 MONITOR at java....

  3. Implement a color-picker and magnifier in Android

    UI calibration is one of the latest features comes into Hurdle. With this functionality, UEDs and developers are able...

  4. Android /proc file systemß

    I attended AnDevCon Boston 2015 weeks ago. Compared with Google IO, it's much more like a training camp combined with...

  5. Invoke super method with reflection

    Occasionally, I need to invoke a method, which is defined in super class, instead of the derived class, with Java ref...

  6. visit to Jiuzhai, Sichuan

    As submerged by grey modern city, I can't forget the blue water of Jiuzhai Valley, and the wide green of Ruoergai pra...

  7. Gaps in Android development

    Chet Haase has composed a series of good articles about Android performance. Every Android developer should read them...

  8. lives around us

    I bring a Canon Powershot S110 camera with me all the time. It's tiny but professional, as it's able to output RAW im...

  9. Steps away from California

    Last year I took on-site interview visits to two of the most greatest tech companies in the bay area. Being spent in ...

  10. Android power consumption and timing tasks

    On Android platforms, there are about 3 approaches to execute timing tasks so far:Handler or Timer: This is suitab...

  11. Android power consumption and WakeLock

    Battery resource is precious in mobile devices. Android system will put the screen, keyboard(if any) and CPU to sleep...

  12. Battery monitoring on user phone

    There are much more differences between mobile application development and servier-side/PC-client development. Mostly...

  13. Cache layout whenever you can

    On Instagram I share the my drawings comics to friends and public folks, as well as enjoying beautiful images from ot...

  14. Restoring my drawing skill

    Tomb Raider 9 is really a good game, as I have been attracted greatly by the courage, beautity, health and justice of...

  15. Leak of android.os.Message

    It's quite normal for an Android application developer to write such code:public class MyActivity extends Activity { ...

  16. A kind of interactive background task

    In Android applications, complicated business logics are normally encapsulated in methods like doXXX() of the busines...

  17. Try to get Jekyll running!

    I'd like to make a blog for myself, and I found Github Pages. Pages uses Jekyll, so I need to get familiar with it. T...