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 #105 background imageLoading...
Page #105 background image
DataWedge
105
Example
Comments
The scanner and its parameters are set based on the currently active Profile.
//
// Call before sending the enumeration query
//
public void registerReciever(){
IntentFilter filter = new IntentFilter();
filter.addAction("com.symbol.datawedge.api.RESULT_ACTION");//RESULT_ACTION
filter.addCategory(Intent.CATEGORY_DEFAULT);
registerReceiver(enumeratingBroadcastReceiver, filter);
}
//
// Send the enumeration command to DataWedge
//
public void enumerateScanners(){
Intent i = new Intent();
i.setAction("com.symbol.datawedge.api.ACTION");
i.putExtra("com.symbol.datawedge.api.ENUMERATE_SCANNERS", "");
this.sendBroadcast(i);
}
public void unRegisterReciever(){
unregisterReceiver(enumeratingBroadcastReceiver);
}
//
// Create broadcast receiver to receive the enumeration result
//
private BroadcastReceiver enumeratingBroadcastReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
String action = intent.getAction();
Log.d(TAG, "Action: " + action);
if(action.equals("com.symbol.datawedge.api.RESULT_ACTION")){
//
// enumerate scanners
//
if(intent.hasExtra("com.symbol.datawedge.api.RESULT_ENUMERATE_SCANNERS")) {
ArrayList<Bundle> scannerList = (ArrayList<Bundle>)
intent.getSerializableExtra("com.symbol.datawedge.api.RESULT_ENUMERATE_SCANNERS");
if((scannerList != null) && (scannerList.size() > 0)) {
for (Bundle bunb : scannerList){
String[] entry = new String[4];
entry[0] = bunb.getString("SCANNER_NAME");
entry[1] = bunb.getBoolean("SCANNER_CONNECTION_STATE")+"";
entry[2] = bunb.getInt("SCANNER_INDEX")+"";
entry[3] = bunb.getString("SCANNER_IDENTIFIER");
Log.d(TAG, "Scanner:" + entry[0] + " Connection:" + entry[1] + " Index:" + entry[2] + " ID:" + entry[3]);
}
}
}
}
}
};

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