Share Data Sample

Secure Storage Manager 1.1

Overview

Secure Storage Manager (SSM) is a mechanism for securely sharing files and/or data from an originating app to one or more target apps, or to itself. This data sharing sample app demonstrates the following:

  • Insert data - securely store data (user name and password) in SSM. Data persists through an enterprise reset based on the persist flag selected: true (persist), false (not persist).
  • Query data - data information is retrieved (based on the target app package name).
  • Update data - securely update existing data stored in SSM.
  • Delete data - remove the target app package name and all related data information from SSM.

This sample may be used based on acceptance of the EULA.


Requirements

  • Secure Storage Manager, built into Zebra mobile computers with Android 11 or higher

Download

Download Share Data sample source code.


Using This Sample

  1. Download, build and launch the sample app. image
  2. Tap the dropdown for Persist Flag and select one of the following:
    • true - data persists through an enterprise reset
    • false - data does not persist through an enterprise reset
  3. Enter the user name and password. This is the data being inserted to SSM.
  4. Tap Insert Data. The data is encrypted and inserted into SSM.
  5. Tap Query Data. The data queried is decrypted and displayed (below Query Result).
  6. Update data: Enter a new user name and/or password to update. Tap Update Data. The original data is replaced with the new data. The new data is encrypted and inserted into SSM.
  7. Repeat step 5 to query the updated data.
  8. To delete data, tap Delete Data.

See Also