--- title: স্ক্রীনশট নেয়া slug: Archive/B2G_OS/Debugging/taking_screenshots tags: - Debugging - Firefox OS - NeedsReview - Screenshots translation_of: Archive/B2G_OS/Debugging/taking_screenshots ---
Taking screenshots of your application can be useful in many circumstances, for example showing your work to a client, or when publishing your app on the Marketplace. This article explains how to take screenshots on your Firefox OS phone.
টীকা: এন্ড্রয়েড ডেভেলপারগন এটা আগেই জেনে থাকবেন। ধাপ গুলো একই।
You now have four choices: using the Terminal, using DDMS in Eclipse, using the dedicated button combination on the phone, or using the App Manager.
Open a terminal window, then enter the follwing three commands:
screenshot.png
if you want to call it something else):adb shell screencap -p /sdcard/screenshot.png
adb pull /sdcard/screenshot.png
adb shell rm /sdcard/screenshot.png
Alternatively, you can use ffmpeg:
sudo port install ffmpeg
. For homebrew, do brew install ffmpeg
.sudo apt-get install ffmpeg
.cd
into the B2G/gaia
directory.make screenshot
command to take a screenshot.screenshot.png
.Open Eclipse.
Note: To learn more about DDMS, have a look at the DDMS documentation .