From 4b1a9203c547c019fc5398082ae19a3f3d4c3efe Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:41:15 -0500 Subject: initial commit --- .../b2g_os/debugging/taking_screenshots/index.html | 66 ++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 files/bn/archive/b2g_os/debugging/taking_screenshots/index.html (limited to 'files/bn/archive/b2g_os/debugging/taking_screenshots/index.html') diff --git a/files/bn/archive/b2g_os/debugging/taking_screenshots/index.html b/files/bn/archive/b2g_os/debugging/taking_screenshots/index.html new file mode 100644 index 0000000000..89d088e4de --- /dev/null +++ b/files/bn/archive/b2g_os/debugging/taking_screenshots/index.html @@ -0,0 +1,66 @@ +--- +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.

+
+
+

টীকা: এন্ড্রয়েড ডেভেলপারগন এটা আগেই জেনে থাকবেন। ধাপ গুলো একই।

+
+

আপনার ফোন তৈরি

+
    +
  1. On your phone, go to the Developer Settings and check Remote Debugging & Console Enabled.
  2. +
  3. Make sure you phone has ADB installed and working.
  4. +
  5. Connect your phone to your computer via USB.
  6. +
+

 একটি স্ক্রীনশট নেয়া

+

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:

+
    +
  1. 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
  2. +
  3. Pull the picture onto your computer:
    + adb pull /sdcard/screenshot.png
  4. +
  5. Remove the screenshot from your device:
    + adb shell rm /sdcard/screenshot.png
  6. +
+

Alternatively, you can use ffmpeg:

+
    +
  1. Make sure you have ffmpeg installed: +
      +
    1. On Mac, if you use MacPorts, you can do this with sudo port install ffmpeg. For homebrew, do brew install ffmpeg.
    2. +
    3. On Linux (Ubuntu/Debian), use sudo apt-get install ffmpeg.
    4. +
    +
  2. +
  3. cd into the B2G/gaia directory.
  4. +
  5. Use the make screenshot command to take a screenshot.
  6. +
  7. You now have a screenshot called screenshot.png.
  8. +
+

DDMS

+

Open Eclipse.

+
    +
  1. Open DDMS: Window > Open Perspective > Other > DDMS.
  2. +
  3. On the left side panel, in the Devices tab, click the Screen capture button.
  4. +
  5. A new window appears with several options; click on Save button to save your screenshot.
  6. +
+
+

Note: To learn more about DDMS, have a look at the DDMS documentation .

+
+

ফোনার বাটনের কম্বিনেশন

+
    +
  1. Simultaneously hold down the Home and Power buttons for a few seconds. This takes a screenshot, which is saved in your Gallery.
  2. +
  3. Copy the picture from your SDCard to your computer using whatever method suits you best.
  4. +
+

 এপ ম্যানেজার/সিমুলেটর

+
    +
  1. Go to the App Manager, connect to your phone, and navigate to the Device tab on the left.
  2. +
  3. Click on the Screenshot button above Installed Apps.
  4. +
-- cgit v1.2.3-54-g00ecf