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
Monthly Archives: January 2014
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