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.
টীকা: এন্ড্রয়েড ডেভেলপারগন এটা আগেই জেনে থাকবেন। ধাপ গুলো একই।
আপনার ফোন তৈরি
- On your phone, go to the Developer Settings and check Remote Debugging & Console Enabled.
- Make sure you phone has ADB installed and working.
- Connect your phone to your computer via USB.
একটি স্ক্রীনশট নেয়া
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:
- Take the screenshot using the following command (you can change
screenshot.png
if you want to call it something else):
adb shell screencap -p /sdcard/screenshot.png
- Pull the picture onto your computer:
adb pull /sdcard/screenshot.png
- Remove the screenshot from your device:
adb shell rm /sdcard/screenshot.png
Alternatively, you can use ffmpeg:
- Make sure you have ffmpeg installed:
- On Mac, if you use MacPorts, you can do this with
sudo port install ffmpeg
. For homebrew, dobrew install ffmpeg
. - On Linux (Ubuntu/Debian), use
sudo apt-get install ffmpeg
.
- On Mac, if you use MacPorts, you can do this with
cd
into theB2G/gaia
directory.- Use the
make screenshot
command to take a screenshot. - You now have a screenshot called
screenshot.png
.
DDMS
Open Eclipse.
- Open DDMS: Window > Open Perspective > Other > DDMS.
- On the left side panel, in the Devices tab, click the Screen capture button.
- A new window appears with several options; click on Save button to save your screenshot.
Note: To learn more about DDMS, have a look at the DDMS documentation .
ফোনার বাটনের কম্বিনেশন
- Simultaneously hold down the Home and Power buttons for a few seconds. This takes a screenshot, which is saved in your Gallery.
- Copy the picture from your SDCard to your computer using whatever method suits you best.
এপ ম্যানেজার/সিমুলেটর
- Go to the App Manager, connect to your phone, and navigate to the Device tab on the left.
- Click on the Screenshot button above Installed Apps.
ডকুমেন্ট ট্যাগ এবং অবদানকারী
ট্যাগ:
Contributors to this page:
chrisdavidmills,
jaggedzak
সর্বশেষ হালনাগাদ করেছেন:
chrisdavidmills,