> For the complete documentation index, see [llms.txt](https://developer.magtek.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.magtek.com/hardware/card-readers/mms-dyna-devices/emv-common-kernel/dynaflex-ii-go/documents/developers-manuals/universal-sdk-magtek-devices-programmers-manual-android/introduction.md).

# Introduction

This document provides instructions for software developers who want to create Android software solutions that include MagTek devices connected to an Android based host. MagTek Universal SDK (MTUSDK) incorporates MagTek SCRA and MagTek PIN Pad SCRA devices into one SDK. This document is part of a larger library of documents designed to assist MagTek device implementers, which includes the following documents available from MagTek:

* **D998200383 DynaFlex Products Programmer's Manual ( Commands )**

## About the MagTek Sample Code <a href="#id-1.1_about_the_magtek_sample_code" id="id-1.1_about_the_magtek_sample_code"></a>

The sample code provides Android demonstration source code and a reusable MTUSDK API library that provides developers of custom software solutions with an easy-to-use interface for MagTek devices.

Developers can distribute the MTUSDK API Library to customers or distribute internally as part of an enterprise solution.

## Nomenclature <a href="#id-1.2_nomenclature" id="id-1.2_nomenclature"></a>

* Device refers to the MagTek devices that receives and responds to command set.
* Host refers to the piece of general-purpose electronic equipment the device is connected or paired to, which sends data to and receives data from the device. Host types include but not limited to PC and Mac computers, tablets, and smartphones. When “host” must be used differently, it is qualified as something specific, such as “USB host.”
* User in this document generally refers to the cardholder.

## SDK Contents <a href="#id-1.3_sdk_contents" id="id-1.3_sdk_contents"></a>

<table data-header-hidden><thead><tr><th width="197.6363525390625" valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">File name</td><td valign="top">Description</td></tr><tr><td valign="top">MTUSDKDemo.apk</td><td valign="top">Sample code APK file.</td></tr><tr><td valign="top">MTUSDK.aar</td><td valign="top">Universal SDK Android AAR Library file.</td></tr></tbody></table>

## System Requirements <a href="#id-1.4_system_requirements" id="id-1.4_system_requirements"></a>

Tested operating systems:

* Android 4.4.2 and above
* Android Studio 3.5.3 and above

## Certificate Requirements

When connecting to the DynaFlex II PED device by WLAN, a client certificate and its certificate chain must be installed on the Android device. Root Certificate, Sub CA Certificate, and Client private key Certificate as referenced in document *D998200550 DynaFlex II PED Using Wireless LAN Guide*.

* Download the certificate chain to the Android device.
* The navigation paths for the following instructions may very on the Android device. If not seen, do a search within Settings for the end of the navigation path.
* Navigate to Settings --> Security --> More security settings --> Encryption & credentials --> Install a certificate

<figure><img src="/files/U00H2aVIfOxS57UvkRKS" alt=""><figcaption></figcaption></figure>

&#x20;

* Select CA certificate .

<figure><img src="/files/KCbChMuUQBcGOHhBtfgX" alt=""><figcaption></figcaption></figure>

* Confirm any prompts such as Install anyway .

<figure><img src="/files/uH9TAIz0XbuAxpw45Zzy" alt=""><figcaption></figcaption></figure>

6. Select the rootCA.crt file.

<figure><img src="/files/A5Jd2sXBpBGwLr2Tnmd1" alt=""><figcaption></figcaption></figure>

* Continue to install the subCA by selecting CA certificate .

<figure><img src="/files/V5f9QeiaptB260uyB5i5" alt=""><figcaption></figcaption></figure>

* Confirm any prompts such as Install anyway .

<figure><img src="/files/bWSmVTAX0EEnRzfJbI5C" alt=""><figcaption></figcaption></figure>

* Select the subCA.crt file.

<figure><img src="/files/aa9ltnW40PtZo24geuap" alt=""><figcaption></figcaption></figure>

* Verify the certificate chain by navigating to Settings --> Security --> More security settings --> Encryption & credentials --> Trusted credentials.

<figure><img src="/files/RlUPa9NIQm4Mz4peIzX5" alt=""><figcaption></figcaption></figure>

* Select User .

<figure><img src="/files/FcP5FKBAFDgMIQQkVpLg" alt=""><figcaption></figcaption></figure>

* Installation of certificate chain is complete.
* Custom software will need the client private key certificate (client.p12) when creating a connection to DynaFlex II PED WLAN. Place the client.p12 into a folder accessible by the custom software.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.magtek.com/hardware/card-readers/mms-dyna-devices/emv-common-kernel/dynaflex-ii-go/documents/developers-manuals/universal-sdk-magtek-devices-programmers-manual-android/introduction.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
