How to Enable an Application to Utilize the Terminal's Camera Function
Please refer to the camera of Android SDK. Please note that when calling camera.open (ID), the IDs of different product models are different, see the definition in the following table:
Product Model | Camera Id |
---|---|
W1 | 0 |
W1V2 | 0 |
Q1 | 0: zoom camera, 1: fixed focus camera |
Q1V2 | 0: zoom camera, 1: fixed focus camera |
Q2 | 0 |
K2 | 0 |
PAD1 | 0 |
We also wrote a demonstration for taking photos. Please download it.