How to Enable an Application to Utilize the Terminal's Camera Function: Difference between revisions
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
| Q3 || 0: back camera, 1: front camera | | Q3 || 0: back camera, 1: front camera | ||
|} | |} | ||
We also wrote a demonstration for taking photos. Please [http://ftp.wizarpos.com/advanceSDK/PhotographDemo.zip download it]. | We also wrote a demonstration for taking photos. Please [http://ftp.wizarpos.com/advanceSDK/cloudpos/PhotographDemo.zip download it]. |
Revision as of 08:12, 24 December 2021
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/zebra camera, 1: fixed focus camera |
Q2 | 0: back camera, 1: front camera |
K2 | 0 |
PAD1 | 0 |
Q3 | 0: back camera, 1: front camera |
We also wrote a demonstration for taking photos. Please download it.