How to Enable an Application to Utilize the Terminal's Camera Function
Please reference to camera of android SDK. Please notice that when calling Camera.open(id), the id is different in different product model, please find 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 write a demo for taking photo. Please download it.