How to Enable an Application to Utilize the Terminal's Camera Function: Difference between revisions

From wizarPOS
No edit summary
Line 1: Line 1:
Please reference to [https://developer.android.com/training/camera/index.html camera] of android SDK.
Please refer to the [https://developer.android.com/training/camera/index.html 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:
Please notice that when calling Camera.open(id), the id is different in different product model, please find the definition in the following table:
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 19: Line 18:
| PAD1 || 0
| PAD1 || 0
|}
|}
We also write a demo for taking photo. Please [ftp://sdkuser:wizsdkar@ftp.wizarpos.com/advanceSDK/PhotographDemo.zip download it].
We also wrote a demonstration for taking photos. Please [ftp://sdkuser:wizsdkar@ftp.wizarpos.com/advanceSDK/PhotographDemo.zip download it].

Revision as of 08:56, 24 March 2020

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.