Skip to content

ZebraDevs/ZEC500-DEV-UG-SampleApp

Repository files navigation

Jan.2026 update - QRCODE EXPORT FEATURE ADDED

  • starting v1.7 the zec500-embedded-qrcode-standalone-fvm module was added an export feature for the generated qrcode

  • new, unified qrcode generation location is now QrcodeHelper

  • suggested usage: see e.g. this line

    • define an export path (folder and filename), e.g. val exportedQrcodeFileName = ...

    • ensure the export path points to a public folder. e.g. Environment.DIRECTORY_PICTURES

    • when calling the generateQrCode API, ensure to add the parameters exportTo = exportedQrcodeFileName, caption = txtcaption.text.toString()

      The caption is printed below the qrcode graphics in the exported image

  • the exported image is a PNG format

  • how the exported qrcode appears in File app

    image
  • and when open from File

    image

EXTERNAL VIDEO SUPPORT

  • Starting v1.6, the following path can be used to playback an external video /sdcard/Movies/NRFParis2025.mp4
  • adb can be used to upload the file: adb push "C:\Users\...your..path...\NRFParis2025.mp4" /sdcard/Movies
  • If no valid file is found at that location, internal videos are played back

SCREENSHOTS

image

image

ZEC500-BLOG-IS-HERE https://github.com/NDZL/-blog-A14/wiki/@-ZEC500-BLOG-IS-HERE


SERVICE-BASED WORKFLOWS

Hardware setup (for the 2-display scenario)

  • You need an external display to see this service opening a web page on a different screen
  • Either using Workstation Connect / Wireless WSC
  • Or working on a KC50/TD50 pair

Install the service

  • Build https://github.com/ZebraDevs/ZEC500-DEV-UG-SampleApp/tree/master/zec500-overlay-service
  • Install the APK, e.g. with adb install -g com.zebra.zec500_overlay_service.apk: no icons will be added to the launcher
    • Grant all the required permissions if installed otherwise, by manually navigating through Settings/Apps/All apps/Search... "overlay"

    • Permissions page must look like this

      image
    • Also, ensure the "Display over other apps" is granted

      image

Install Another Browser (for the 2-display scenario)

Publish the Web App consuming the service and Open it

Observe the 2-display scenario's behavior

image
  • If Chrome is used to open zec500.html page
    • then clicking on the link "Open Browser on 2nd Display (Chrome-default)" fails to steadily open another webpage on the external display. This is the re-parenting browser's feature in action.
    • while clicking on "Open Browser on 2nd Display (Firefox-must be installed)" it usually opens a webpage on the external display
WEBAPP.SPLIT.ON.2.SCREENS-ChromeFirefox.mp4

The other links in that HMTL page can be used to display the ZEC500 Connection QrCode as an overlay.

About

ZEC500 Sample Code App

Resources

Stars

Watchers

Forks

Packages

No packages published