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:
| @ECHO OFF | |
| REM | |
| REM 01.17.2013, Requires Node.js, JSHint, Recess, and UglifyJS (installed in the path) | |
| REM Run this command after node.js is installed | |
| REM npm install -g less jshint recess uglify-js | |
| REM | |
| MKDIR bootstrap\img | |
| MKDIR bootstrap\css | |
| MKDIR bootstrap\js |
| // | |
| // !!WARNING: Not recommended for production code!! | |
| // | |
| public class ClassLoaderActivity extends Activity | |
| { | |
| public void onCreate(Bundle savedInstanceState) | |
| { | |
| // file.jar has a dex'd "classes.dex" entry that you can generate with "dx" from any number of JARs or class files | |
| ClassLoader dexLoader = new DexClassLoader("/path/to/file.jar", getCacheDir().getAbsolutePath(), null, getClassLoader()); | |
| setAPKClassLoader(dexLoader); |