Disclaimer
Frank is a software engineer in north California. This is a personal web site. The opinions expressed here represent my own but not those of my employer. You can find him on Twitter too.
Recent Comments
- don on How to read cassandra source code by Ran
- lin1987www on Tutorial: Create android gradle project with dagger
- frankdu on Tutorial: Create android gradle project with dagger
- frankdu on Tutorial: Create android gradle project with dagger
- devender kumar on Tutorial: Create android gradle project with dagger
-
Recent Posts
Categories
Archives
- February 2019
- January 2014
- November 2013
- September 2013
- January 2013
- July 2011
- April 2011
- March 2011
- February 2011
- January 2011
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
Meta
Category Archives: Mobile
Android: record screen cast like a breeze
Record screen video can be super easy. First, put below lines in your .bash_profile file. Then type the command screenrecord demo_video_name. When you are done, press Ctrl + C to stop recording. Easy, huh! Please note: Android 4.4+ (KitKat or … Continue reading
Android: capture screenshot with one line of adb command
Just one-liner to capture android screenshot:
1 |
adb shell screencap -p | perl -pe 's/\x0D\x0A/\x0A/g' > screen.jpg |
Posted in android
Leave a comment
Tutorial: Create android gradle project with dagger
It is tricky to set up multi-module projects with android & gradle, if you are new to it. It is even trickier to make it working with Dagger. A bit background knowledge: Dagger is an open-source dependency injection framework designed … Continue reading
INSTALL_REFERRER broadcast helps to track android installation referrer
Many businesses ask you how you hear about them, when you first visit them. Because the data is important for growing their businesses. OK, you have an android app. Aren’t you interested in tracking how the users find you? For … Continue reading
Posted in android
Leave a comment
Base64 Encoding in Android 2.1 or Earlier
Base64 is common used. Now Google added a utility class android.util.Base64. Unfortunately it is only available in Android 2.2 and later. So, you need just a little bit work to use it with Android 2.1 or ealier. Yes, just copy … Continue reading
The Evolution of Mobile Phones (1985 – today)
Very interesting!