Developer Guide

  • 10/27/2020
  • Public Content
Contents

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.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.