Visible to Intel only — GUID: GUID-1A63C522-8C28-4902-9722-B830C18DFA93
Visible to Intel only — GUID: GUID-1A63C522-8C28-4902-9722-B830C18DFA93
Android* Host Application Sample
Note: This sample is not included in the first public release of the Intel® Dynamic Application Loader (Intel® DAL) SDK. It will be provided in a future release.
The Host Application Sample is located in the SDK Android* folder.
This is a simple Android application that demonstrates the basic usage of the com.intel.security.dalinterface API that is exposed by the Intel® DAL Host Interface daemon. When running the main Android Activity of this application, it performs this flow:
- Gets instances of the AdminManager and SessionManager that manages the communication with the Intel DAL Host Interface daemon.
- Creates instances of TrustedApp and SessionApp for the trusted application.
- Installs the trusted application.
- Opens a session to the trusted application.
- Uses the trusted application's SendAndRecv function to send and receive data.
- Closes the session.
- Uninstalls the trusted application.
The trusted application's location and ID are defined in the code and can be modified to match your trusted application, and then compiled, installed and run.
The sample folder contains the source code and the resulting executable .apk file.