DEV Community

Anees Ahammed
Anees Ahammed

Posted on

4 1

Best way to record your screen on Android

I have been wanting to write for a while now. Finally, as @teamcoder put out, decided to give up perfection and here it is.

If you wanted to record a tutorial or wanted to create a demo of your app you'd need to capture the screen in real time. Without installing some third-party crappy piece of software this is daunting. So below is one of the easy steps to follow for geeks in you.

Download the platform-tools from below URL if you don't have Android Studio installed.

developer.android.com
image

  • Connect your Android Phone to your computer.

  • Make sure you have selected the option "Use USB for" to "File transfers"image

  • Open the command prompt (Win+R)

  • Enter the below command
    adb shell and press "Enter" keyimage

  • Write the below command to record the screen
    screenrecord /sdcard/download/fileName.mp4image

  • Once you are done with recording the screen, press "Cntrl + C" to stop

  • You can now just browse to the same folder you have given in command and get the fileimage

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

Top comments (2)

Collapse
 
andy profile image
Andy Zhao (he/him)

Super easy, thanks!

Collapse
 
maestromac profile image
Mac Siri

Wow that is a such a super simple way to do it. Thank you for sharing!

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay