Please be aware that this application / sample is provided as-is for demonstration purposes without any guarantee of support
Sample code showing how to use some Large Screens APIs from Android and how to configure Zebra Workstation Connect according to the guidelines given in the Developers User Guide.
- Install Zebra WSC from https://www.zebra.com/us/en/support-downloads/software/productivity-apps/workstation-connect.html
- At the time of writing, v2.0 is the latest and the sample code is compiled after that version
- Note that Android 11 is the supported OS version for v2.0
- Run the app or restart the device
- UPDATES (April 29th, 2024)
- successully validated on a TC22 running A13
- and using the newly released ZWC v.3.0.49
- Either manually or via Stagenow set the following device Developers options
- APPS Section
- Enable freeform windows
- Force desktop mode
- APPS Section
- Install this sample app - this must be step #3
- Grant permission to this app's applicationID to call a specific ZVA service. Use Stagenow's Access Manager.
- https://developer.zebra.com/blog/streamlining-workstation-connect-configuration-step-step-guide-developers
- Useful for permission granting through StageNow
- https://www.zebra.com/content/dam/support-dam/en/documentation/unrestricted/guide/software/wsc-dev-guide-en.pdf
When launching an activity on the external screen, it might be useful to set its dimensions to a specific size.
Use this API
startActivity( intent, ActivityOptions.makeBasic().setLaunchBounds(new Rect(700,0, 700+510, 1020)).toBundle());