The vision of the Kitchen Sink Sample is to include almost anything important one can think of  implementing on a Zebra Android Mobile device. The Kitchen Sink Sample provides sample code to demonstrate multiple features in a single application  and compare those features with its code, side by side.

 

This sample is evolving and the Kitchen Sink Sample v1.0 demonstrates only the limited set of features.

 

The Kitchen sink sample currently demonstrates:

  • Get device information
    • Manufacturer
    • Model
    • Serial number
    • OS Version
    • Android SDK version
    • EMDK version
    • DataWedge version
    • MX version

 

  • Get the battery information
    • Manufactured date
    • Serial number
    • Part number
    • Current Battery Level
    • Rated capacity
    • Number of charge cycles
    • Register for battery status notifications

 

  • Scan a barcode and receive data as keystroke to foreground app with zero code using DataWedge
    • The scanned data will be sent as keystroke to your foreground application with ZERO code if app has edit text box

          Note:

          DataWedge provides barcode scanning and processing services for Zebra devices running Android. DataWedge provides an option to create profile, associate application and configure settings such as scanner selection, symbology, scanner parameters, data formatting either manually or remotely using  MDM or programatically. Refer to the DataWedge document for more info.

          The Kitchen Sink Sample is using the DataWedge default profile "Profile0(default)" for scanning and receiving the scanned data as keystroke. The Kitchen Sink Sample feature "Scan:Keystroke Output"  will not  function if the user disables DataWedge profile "Profile0(default)"

                        

  • Scan a barcode and receive the scanned data through intent with minimal code using DataWedge
    • Programmatically create DataWedge profile, associates application to the profile, enable Intent Output and disable Keystroke Ouput [This is not required if the user wants to create profile manually or using MDM]
    • Registered for the intent broadcast receive the scanned data from DataWedge
    • Receive the intent data and read

          Note:

          DataWedge provides barcode scanning and processing services for Zebra devices running Android. DataWedge provides an option to create profile, associate application and configure settings such as scanner selection, symbology, scanner parameters, data formatting either manually or remotely using  MDM or programatically. Refer to the DataWedge document for more info.

 

  • Scan a barcode and receive the scanned data through callback using EMDK Barcode API
    • Initialize the EMDK Manager
    • Get the BarcodeManager
    • Select default scanner for scanning and enable the scanner
    • Configure the scanner settings as enable/disable symboligies
    • Register for the recieve the scanner status and scanned data via callback
    • Receive the scanner status and scanned data

 

  • Configuring Touch Panel Mode using EMDK Profile Manager API on demand
    • Initialize the EMDK Manager
    • Get the Profile Manager
    • Select the Touch Panel by calling Profile Manager API to set the profile
    • Receive the response via callback
    • Validate the receive response

 

  • Enumerate available sensors and listen for sensor data using Android Sensor Manager API
    • How to enumerate the list of sensors available on the device
    • Listen for the sensor data
  • EMDK SDK usage in gradle.build
    • How to use EMDK SDK in gradle build to compile application

          Notes:

          For simplicity of building the application, the EMDK SDK (JAR) v6.4 is copied into the application's lib folder for compiling application.

 

 

System Requirements to Build:

  • Windows PC or MAC
  • Android Studio 2.3 or higher
  • JDK

 

How to build?

 

This sample is currently tested on the TC75x, TC51 and TC56  devices.