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
- Download, build and launch the sample app.
- 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
- Enter the user name and password. This is the data being inserted to SSM.
- Tap Insert Data. The data is encrypted and inserted into SSM.
- Tap Query Data. The data queried is decrypted and displayed (below Query Result).
- 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.
- Repeat step 5 to query the updated data.
- To delete data, tap Delete Data.