简体   繁体   中英

take photo with wear OS android

I needed to know if I can use the camera on a watch, with the same API I use the camera on mobile? The application I needed to do was take a photo with a wear.

I've been searching the google documentation in the wear os section and I can't find any reference to the interaction with the camera's API.

Note: this application that I aspire to make had no interaction with the smartphone.

Does anyone know if it's possible?

there is no API, because Wear OS devices don't have cameras, not a single one... some smartwatches with cameras and "Android" system have "real" Android system adjusted to such devices by manufacturer. on those you may use common Camera2 API (if manufacturer didn't blocked cam access somehow, as this is modified OS distribution)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM