EasyManuals Logo
Home>Zebra>PDA>TC20

Zebra TC20 User Manual

Zebra TC20
171 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 #101 background imageLoading...
Page #101 background image
DataWedge
101
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 is active whenever activity A is in the
foreground. When activity B comes to the foreground, DataWedge automatically switches 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 automatically switches Profile when the activity is paused, Zebra recommends that this
API function is 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 use 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

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Zebra TC20 Specifications

General IconGeneral
BrandZebra
ModelTC20
CategoryPDA
LanguageEnglish

Related product manuals