EasyManuals Logo

Zebra TC52 Integrator Guide

Zebra TC52
192 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #111 background imageLoading...
Page #111 background image
DataWedge
111
For example, Profile A is unassociated and Profile B is associated with activity B. If activity A is launched and
uses
SwitchToProfile function to switch to Profile A, then Profile A will be active whenever activity A is in the
foreground. When activity B comes to the foreground, DataWedge will automatically switch to Profile B.
When activity A returns to the foreground, the app must use
SwitchToProfile again to switch back to Profile
A. This would be done in the
onResume method of activity A.
NOTE: Use of this API changes only the runtime status of the scanner; it does not make persistent changes to the Profile.
Notes
Because DataWedge will automatically switch Profile when the activity is paused, Zebra recommends that this
API function be called from the onResume method of the activity.
After switching to a Profile, this unassociated Profile does not get assigned to the application/activity and is
available to be used in the future with a different app/activity.
For backward compatibility, DataWedge’s automatic Profile switching is not affected by the above API
commands. This why the commands work only with unassociated Profiles and apps.
DataWedge auto Profile switching works as follows:
Every second…
Sets newProfileId to the associated Profile ID of the current foreground activity.
If no associated Profile is found, sets newProfileId to the associated Profile ID of the current foreground
app.
If no associated Profile is found, sets newProfileId to the current default Profile (which MAY NOT be
Profile0).
Checks the newProfileId against the currentProfileId. If they are different:
deactivates current Profile
activates new Profile (newProfileId)
sets currentProfileId = newProfileId
Imager as Camera
Use the standard Android SDK Camera API functions to operate the imager scanner as a camera. When using
the imager scanner as a camera, the following Camera API functions are supported:
Camera.open(ID) - Set ID to 100 to open the Imager Scanner as a camera instance.
Camera.release() - Release the Imager Scanner opened using camera API.
Camera.setPreviewDisplay(surfaceHolder) - Add SurfaceView via SurfaceHolder to show preview.
Camera.SetPreviewCallback(PreviewCallback) - Set previewCallback to get preview data.
Camera.startPreview() - Starting Imager Scanner preview via SurfaceView.
Camera.stopPreview() - Stopping Imager Scanner preview showing in SurfaceView.
Camera.getCameraInfo(CameraID,CameraInfo) – Get camera information on camera ID. CameraInfo
has the following members:
orientation
•facing
canDisableShutterSound

Table of Contents

Other manuals for Zebra TC52

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Zebra TC52 and is the answer not in the manual?

Zebra TC52 Specifications

General IconGeneral
RFID reader-
Scanner type2D
Product colorBlack
Phone functionYes
Display diagonal5 \
Touch technologyDual-touch
Touchscreen typeCapacitive
Display resolution1280 x 720 pixels
USB 2.0 ports quantity1
Flash memory32 GB
Internal memory4 GB
Compatible memory cardsMicroSD (TransFlash)
Maximum memory card size256 GB
Storage temperature (T-T)-40 - 70 °C
Operating temperature (T-T)-20 - 50 °C
Operating relative humidity (H-H)5 - 95 %
Battery capacity4150 mAh
Number of cores8
Processor model660
Processor familySnapdragon
Processor frequency2.2 GHz
Processor manufacturerQualcomm
GPS (satellite)No
Operating system installedAndroid
Bluetooth version5.0
Rear camera aperture number2.2
Front camera aperture number2
Rear camera resolution (numeric)13 MP
Front camera resolution (numeric)5 MP
Weight and Dimensions IconWeight and Dimensions
Depth18.6 mm
Width75.5 mm
Height155 mm
Weight249 g

Related product manuals