This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
| import android.os.SystemClock; | |
| import android.support.v4.util.LruCache; | |
| import java.util.HashMap; | |
| import java.util.Map; | |
| /** | |
| * An Lru Cache that allows entries to expire after | |
| * a period of time. Items are evicted based on a combination | |
| * of time, and usage. Adding items past the {@code maxSize} |