Capturas de telas da interface do Wear
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
O Wear OS oferece várias maneiras de capturar a interface:
-
Android Studio: use o Logcat para fazer capturas de tela.
-
App complementar: em dispositivos Google Pixel Watch, use a opção Take wearable
captura de tela para fazer capturas de tela.
-
Gravação de tela para Wear OS: grava um vídeo da tela.
Fazer capturas de tela no Android Studio
O processo de fazer capturas de tela da IU do app para wearables usando o Android Studio é parecido
com o de dispositivos móveis. Siga estas etapas:
- Abra seu app no Android Studio.
- Execute o app em um dispositivo ou emulador.
- Abra a tela que você quer capturar no dispositivo ou no emulador.
- Abra o Logcat e clique no
ícone de captura de tela. Ele pode estar
abaixo do menu flutuante.
- Você também pode escolher Frame screenshot e selecionar uma área redonda.
- Clique em Salvar.
Fazer capturas de tela com o app complementar
Para fazer capturas de tela de um dispositivo Google Pixel Watch, use o app complementar Google Pixel Watch. Siga estas etapas:
- Na IU, encontre a tela que você quer capturar.
- No smartphone Android, ative as Opções do desenvolvedor, se ainda não estiverem ativadas.
Para isso, acesse Configurações > Sobre o telefone e toque em Número da versão
sete vezes.
- Abra o app complementar do Wear no smartphone.
- Toque no botão flutuante de três pontos no canto superior direito para abrir o menu.
- Toque em Fazer captura de tela do wearable. Esta mensagem vai aparecer:
Solicitação de captura de tela enviada. Depois, você vai receber estas notificações:
Pronto para enviar uma captura de tela do relógio e Toque para enviar.
- Toque na notificação para conferir as opções de envio ou compartilhamento da captura de tela por Bluetooth,
Gmail ou outros meios.
Usar gravação de tela para Wear OS
Caso esteja desenvolvendo no macOS, você pode usar um projeto do GitHub, a
ferramenta Android para Mac (link em inglês), para gravar um vídeo do seu dispositivo Wear OS.
Para gravar um vídeo do seu dispositivo Wear OS, siga estas etapas:
- Grave frames brutos no smartwatch, conforme mostrado abaixo:
adb shell screenrecord --time-limit 30 --output-format raw-frames --verbose /sdcard/video.raw
- Copie o arquivo bruto na sua máquina de desenvolvimento, conforme mostrado abaixo:
adb pull /sdcard/video.raw video.raw
- Use
ffmpeg
para converter o arquivo bruto para MP4, conforme mostrado abaixo:
ffmpeg -f rawvideo -vcodec rawvideo -s 400x400 -pix_fmt rgb24 -r 10 -i video.raw -an -c:v libx264 -pix_fmt yuv420p video.mp4
Observação: consulte o site do
FFmpeg (em inglês) para instruções de
download e instalação.
O conteúdo e os exemplos de código nesta página estão sujeitos às licenças descritas na Licença de conteúdo. Java e OpenJDK são marcas registradas da Oracle e/ou suas afiliadas.
Última atualização 2025-07-26 UTC.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Não contém as informações de que eu preciso","missingTheInformationINeed","thumb-down"],["Muito complicado / etapas demais","tooComplicatedTooManySteps","thumb-down"],["Desatualizado","outOfDate","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Problema com as amostras / o código","samplesCodeIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-07-26 UTC."],[],[],null,["# Capture Wear UI screens\n\nWear OS provides several ways to capture the Wear OS UI:\n\n- **Android Studio**: use Logcat to take screenshots.\n- **Companion app** : on Google Pixel Watch devices, use the **Take wearable\n screenshot** option to take screenshots.\n- **Screen record for Wear OS**: record a video of the screen.\n\nCapture screenshots in Android Studio\n-------------------------------------\n\n\nCapturing screenshots of your wearable app's UI using Android Studio is similar to capturing\nscreenshots on mobile. Use the following steps:\n\n1. Open your app in [Android Studio](/studio).\n2. Run your app on a device or an emulator.\n3. Navigate to the screen you want to capture on the device or in the emulator.\n4. Open [Logcat](/studio/debug/am-logcat) and click the screenshot icon. It might be beneath the overflow menu.\n5. Optionally, select **Frame Screenshot** and select a round chrome.\n6. Click **Save**.\n\nCapture screenshots with the companion app\n------------------------------------------\n\n\nTo take screenshots of a Google Pixel Watch device, you can use the [Google Pixel Watch](https://play.google.com/store/apps/details?id=com.google.android.apps.wear.companion) companion app. Follow these steps:\n\n1. On your UI, find the screen that you want to capture.\n2. On the Android phone, enable **Developer options** , if you haven't already, by going to **Settings \\\u003e About phone** , and tapping **Build number** *seven times.*\n3. Open the Wear companion app on your phone.\n4. Tap the three dot overflow button in the upper-righthand corner to open the menu.\n5. Tap **Take wearable screenshot** . The following message appears: **Screenshot request sent** . Then you receive the following notifications: **Ready to send watch screenshot** and **tap to send**.\n6. Tap the notification to receive options for sending or sharing the screenshot using Bluetooth, Gmail, or other options.\n\nUse screen record for Wear OS\n-----------------------------\n\n\nIf you develop on macOS, you can use the GitHub project\n[Android tool for Mac](https://github.com/mortenjust/androidtool-mac/blob/master/README.md) to record a video from your Wear OS device.\n\n\nAlternatively, record a video from your Wear OS device using the following steps:\n\n1. Record raw frames on the watch, as shown in the following: \n\n ```text\n adb shell screenrecord --time-limit 30 --output-format raw-frames --verbose /sdcard/video.raw\n ```\n2. Copy the raw file to your development machine, as shown in the following: \n\n ```text\n adb pull /sdcard/video.raw video.raw\n ```\n3. Use `ffmpeg` to convert the raw file to MP4, as shown in the following: \n\n ```scdoc\n ffmpeg -f rawvideo -vcodec rawvideo -s 400x400 -pix_fmt rgb24 -r 10 -i video.raw -an -c:v libx264 -pix_fmt yuv420p video.mp4\n ```\n\n\n**Note:** Refer to the\n[FFmpeg website](https://www.ffmpeg.org/download.html) for download\nand installation instructions."]]