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

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804