I wanted to make a short video recording activity on an Android device while on a Linux Mint desktop. To do so I did the following:
Install Java if you do not already have it installed.
Install the Android debugger (if not already installed):
sudo apt-get install android-tools-adb
Check that your Android device allows USB debugging. The location for this option varies per Android version but currently I find it under: Settings > Developer Options > USB Debugging
Connect the Android device to your computer with the USB cable
Ensure that the ADB can see your device:
adb devices
Download the JNLP file for AndroidScreencast and run it:
wget http://androidscreencast.googlecode.com/svn/trunk/AndroidScreencast/dist/androidscreencast.jnlp javaws ./androidscreencast.jnlp
I found it necessary to Amend the Java Security Settings in the Java Control Panel to allow the screencast program to run.
Click the ‘Record’ button at the top left to start recording – you will be prompted for a location to save the video file. My video file was saved as a .mov