Developer Guide

  • 10/27/2020
  • Public Content
Contents

Android* Native Host 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 Native Host Sample is located in the SDK Android* folder. 
This sample uses the internal Intel® DAL Host Interface APIs and runs over the Android Native C/C++ Libraries. 
This sample application performs this flow:
  • Initializes a connection with the Intel DAL Host Interface Service.
  • Installs a 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.
  • Ends the connection with the Intel DAL Host Interface Service.
This code must be compiled within the full Android tree using the make file that is provided as a part of the sample.
The sample folder contains the source code and a compiled executable .o file. The executable can be run using ADB or any other connectivity tool.
This sample attempts to load a default trusted application called echo.dalp that should be located under
/system/bin
.  You can find this .dalp file in the sample folder. Copy it to
/system/bin
to run this sample.

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