Making a screencast of a mobile app

If you want to make a screencast of an iPhone app, you must use a Mac computer. But what if you only have a Windows computer? In that case, you must use an emulator and the Android version of the app. These steps will show you how.

Drawing of a Samsung smartphone

Samsung Galaxy S5 by GalaxyOptimus is licensed under CC BY-SA 3.0

Overview

These steps assume that you have a Windows PC, an Android phone, and a USB cable to connect the phone to the computer. I’ve written these steps for a Windows 7 computer and a Samsung Galaxy S4 mobile phone, so your steps will vary slightly if you have a different version of Windows or a different Android device.

There are six main steps, each of which are fully explained below:

  1. Turn on the USB debugging mode on your phone.
  2. On your computer, install Java SE Runtime Environment (JRE).
  3. Install the Android SDK and platform tools.
  4. Install your phone’s drivers onto your computer.
  5. Add an environment variable.
  6. Install one or more emulators.

Note: When you make the screencast, you must use full-motion recording.

Step 1: Turn on the USB debugging mode on your phone.

You will be using a debugging tool to display in app on your computer, so you need to turn set the phone to allow debugging from a USB connection. Android phones have a hidden USB debugging mode. These steps are for a Samsung Galaxy S4. If you have a different model, the steps will be slightly different.

  1. Swipe down to view the settings and then tap Settings (the gear icon).
  2. Tap More.
  3. Scroll to the bottom and tap About device.
  4. Tap the Build number entry five to seven times in a row. A message will display saying you are now a developer.
  5. Go back to settings and tap More.
  6. Tap Developer options.
  7. Turn the Developer options ON and tap USB debugging.

Step 2: Install Java SE Runtime Environment (JRE).

The emulators use Java to display on your computer. You need to make sure you have a recent version installed.

  1. Go to the download page on the Oracle website, at http://www.oracle.com/technetwork/java/javase/downloads/index.html
  2. Under Java Platform, Standard Edition, click the link for the latest JRE Download page.
  3. Select Accept License Agreement, and then download the file appropriate for your computer (probably Windows x64).
  4. Run the .exe file to install JRE.

Step 3: Install the Android SDK and platform tools.

You are running a debugger tool through a Java application using your USB cable. So, of course you need the debugger tool! It is part of the Android software development kit (SDK).

  1. In Windows Explorer, create a new folder at C:\Program Files. Name the folder Android_SDK.
  2. Go to the Android SDK download page on the Android website, at http://developer.android.com/sdk/index.html.
  3. You do not need the full studio, just the stand-alone SDK tools. Click the recommended .exe file for Windows.
  4. Accept the terms and conditions, and then download the file.
  5. Run the downloaded file to install the SDK tools. Install it in the new folder: C:\Program Files\Android_SDK
  6. When the installation is finished, the Android SDK Manager should be open. If it isn’t, run this file: C:\Program Files\Android_SDK\SDK Manager.exe.
  7. The manager lists all the packages you can install.
    1. Under Tools, select Android SDK Platform-tools.
    2. Clear all other selected check boxes.
    3. Click Install 1 package.

Wait until the installation is complete before closing any windows or going to the next step.

Step 4: Install your phone’s drivers.

The drivers are on the phone manufacturer’s website. They depend on the make and model of your phone. If you have a Samsung Galaxy S4, to find the model:

  1. Swipe down and then tap Settings (the gear icon).
  2. Tap More.
  3. Tap About device.
  4. The model is the fifth item listed (Model number).

Download and install the drivers from the manufacturer’s website. For example, for Samsung devices go here: http://www.samsung.com/us/support/downloads.

Step 5: Add an environment variable.

The emulator will use the Android Debug Bridge (ADB), which is one of the tools you downloaded as part of the Android SDK.You need to add a path to the ADB.

  1. From your computer’s Windows Control Panel, click System.
  2. On the left, click Advanced system settings.
    The System Properties window opens.
  3. On the Advanced tab, click Environment Variables.
    The window lists two types of variables: User variables and system variables.
  4. Under System variables, select the PATH variable and then click Edit.
    The Variable value has a lot of text in it, and by default the end is showing. You want to add to the end (not delete what is already there).

    1. Type a semicolon.
    2. Type the path to the platform-tools folder.
      For example, if you installed the SDK in the recommended folder, you will enter this at the end of the values:
      ;C:\Program Files\Android_SDK\platform-tools
    3. Click OK three times to close the open windows.

Step 6: Install an emulator.

There are several to choose from. They all work similarly.

To install droid@screen:

  1. Go to the download page on at http://droid-at-screen.org/.
  2. Download the latest version (a .jar file) to your desktop.

To install Android Screen Monitor:

  1. Go to the download page for this project on GitHub, at http://adakoda.github.io/android-screen-monitor/.
  2. Download the .zip file to a temporary location.
  3. Unzip the .zip file and save the .jar file to your desktop.

To run the emulator

Reminder: When you make the screencast, you must use full-motion recording.

  1. Connect your phone to your computer with the USB cable. Make sure your phone is turned on.
  2. On your computer desktop, double-click asm.jar or droidAtScreen.jar.
  3. A message may display on your phone, asking you to confirm that you trust your computer. Confirm the connection.