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 #109 background imageLoading...
Page #109 background image
DataWedge
109
Switch To Profile
Use the SwitchToProfile API action to switch to the specified Profile.
Profiles Recap
DataWedge is based on Profiles and plug-ins. A Profile contains information on how DataWedge should
behave with different applications.
Profile information consists of:
Associated application
Input plug-in configurations
Output plug-in configurations
Process plug-in configurations
DataWedge includes a default Profile, Profile0, that is created automatically the first time DataWedge runs.
Using Profiles, each application can have a specific DataWedge configuration. For example, each user
application can have a Profile which outputs scanned data in the required format when that application comes
to the foreground. DataWedge can be configured to process the same set of captured data differently based on
the requirements of each application.
NOTE: Use of this API changes only the runtime status of the scanner; it does not make persistent changes to the Profile.
A single Profile may be associated with one or many activities/apps, however, given an activity, only one Profile may be
associated with it.
Usage Scenario
An application has two activities. Activity A only requires EAN13 bar codes to be scanned. Activity B only
requires Code 128 bar codes to be scanned. Profile EAN13 is configured to only scan EAN13 bar codes and is
left unassociated. Profile Code128 is configured to scan Code 128 and is left unassociated. When Activity A
launches it uses SwitchToProfile to activate Profile EAN13. Similarly, when Activity B launches it uses
switchToProfile to activate Profile Code128.
If another activity/app comes to the foreground, DataWedge auto Profile switching will set the DataWedge
Profile accordingly either to the default Profile or to an associated Profile.
When Activity A (or Activity B) comes back to the foreground it will use switchToProfile to reset the Profile back
to Profile B (or Profile M).
Function Prototype
Parameters
ACTION [String]: "com.symbol.datawedge.api.ACTION"
EXTRA_DATA [String]: "com.symbol.datawedge.api.SWITCH_TO_PROFILE"
Intent i = new Intent();
i.setAction("com.symbol.datawedge.api.ACTION");
i.putExtra("com.symbol.datawedge.api.SWITCH_TO_PROFILE", "<profile name>");

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