• Homepage
  • >
  • HowTos
  • >
  • Screencast your Android device using Seven Square on Linux

Screencast your Android device using Seven Square on Linux

  • by
  • 2 Years ago
  • 0

Seven Square is an Android screencast tool used to mirror your Android device screen on the PC running Linux and any other operating system. Seven Square can be used for demonstration, debugging, and so on. You can even click on the mirror screen as you touch on the device panel. Seven Square was written in QT. Seven Square had been tested on multiple hosts: Linux, Windows, & also tested on following devices: QRD8x25/8×26, Linaro Panda board (OMAP4430), TCL Idol X (MTK6589) and Android: 4.0, 4.1, 4.2.

seven square screencast

Features

Major:

  • Click and swipe on the screen (so you can unlock screen by swipe)
  • Virtual menu/home/back key on the UI
  • QWERTY key support (just type via your keyboard)
  • Auto connect to your device when plug in
  • Click on window to wakeup the device (emulate power key press event)
  • Support both Android ICS and Jelly Bean. Froyo not full tested
  • Wrote in Qt 4.x, easily port to different desktop environment

Minor:

  • Rotate view windows on demand (Press F12)
  • Virtual cursor (pointer anchor) on the UI
  • Auto resize to fit the screen resolution of the device
  • Zoom window as your wish and keep the ratio
  • Support customized ‘screencap’ for speeding up (RGBA32, RGB888, RGB565)
  • Auto enable compressed data transfer if ‘minigzip’ found on the host
  • 1~2FPS on MSM8625 device (1.2G dual core, 512M memory, 800×480)

Non-feature:

  • Not support multi devices pluged in at the same time.
  • Not support screen recording as video
  • Not support screen shot as picture

Additional Key Map:

You can press F1/2/3/4 on you keyboard to emulate the following Android key.

  • For device:
    F1 AKEYCODE_HOME
    F2 AKEYCODE_BACK
    F3 AKEYCODE_CALL
    F4 AKEYCODE_ENDCALL
    
  • For application on PC:
    F12 Rotate view window (Landscape/Portrait)

Install Seven Square on Linux OS

sudo apt-get install android-tools-adb qt4-qmake libqt4-dev libqtcore4 libqtgui4
wget https://github.com/yangh/sevensquare/archive/master.zip
unzip master.zip
cd sevensquare-master
make
sudo make install
seven-square
  • Now in your Android device go to Settings > Developer Tools > and enable USB Debugging
  • Connect your Android device to your computer using USB cable to mirror its screen
  • facebook
  • googleplus
  • twitter
  • linkedin
  • linkedin