# urovosamples/sdk_releaseforandroid architecture

> Architecture diagram of the GitHub repository urovosamples/sdk_releaseforandroid, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-01-23). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/urovosamples/sdk_releaseforandroid
- Repository: https://github.com/urovosamples/sdk_releaseforandroid

## Overview

##### Main Components

Core Layer:
- DeviceManager (Central management component)
- Hardware Interface Layer containing:
- ScanManager (Barcode scanning)
- ICCManager (Smart card operations)
- PICCManager (Contactless card operations)
- MagManager (Magnetic stripe)
- PrinterManager (Printing functions)
- SEManager (Secure element)
- KeyMapManager (Key mapping)

**┌─────────────────────────────────────────┐**
- Application Layer            │
- ┤
- SDK Interface              │
- ┤
- Device Managers Layer         │
- ┬──────────┬──────────┬───────┤
- Scanner │   ICC    │   PICC   │  Mag  │
- Manager  │ Manager  │ Manager  │Manager│
- ┼──────────┼──────────┼───────┤
- Printer  │   SE     │  KeyMap  │Device │
- Manager  │ Manager  │ Manager  │Manager│
- ┤
- Hardware Abstraction Layer      │
- ┤
- Device Hardware            │
- ┘

##### Additional Elements
- Version information (V4.1.0326)
- Sample integration paths

##### Implementation Details
- Relationship between managers and their corresponding sample applications
- Configuration paths for each manager
- Security boundaries and trust zones
- Error handling and event flow paths

##### Documentation References
- Link to API documentation sections
- Sample code integration points
- Configuration file references

## Diagram (Mermaid)

```mermaid
flowchart TB
    %% Layers
    subgraph Application["Application Layer"]
        App[Application Integration]
    end

    subgraph SDK["SDK Interface Layer"]
        SDKInterface[SDK API Interface]
    end

    subgraph Managers["Device Managers Layer"]
        direction TB
        DeviceManager["Device Manager"]:::core
        
        subgraph CardManagers["Card Operations"]
            direction TB
            ICCManager["ICC Manager"]:::card
            PICCManager["PICC Manager"]:::card
            MagManager["Mag Manager"]:::card
        end

        subgraph PeripheralManagers["Peripherals"]
            direction TB
            ScanManager["Scan Manager"]:::peripheral
            PrinterManager["Printer Manager"]:::peripheral
        end

        subgraph SecurityManagers["Security"]
            direction TB
            SEManager["SE Manager"]:::security
            KeyMapManager["KeyMap Manager"]:::security
        end
    end

    subgraph HAL["Hardware Abstraction Layer"]
        Hardware["Device Hardware"]
    end

    %% Connections
    App --> SDKInterface
    SDKInterface --> DeviceManager
    DeviceManager --> CardManagers
    DeviceManager --> PeripheralManagers
    DeviceManager --> SecurityManagers
    CardManagers --> HAL
    PeripheralManagers --> HAL
    SecurityManagers --> HAL

    %% Supported Devices
    subgraph Devices["Supported Devices"]
        I9000S["I9000S/I9100"]
        DT50["DT50/DT40/DT30"]
        I6310["I6310"]
    end

    %% Click Events
    click DeviceManager "https://github.com/urovosamples/SDK_ReleaseforAndroid/blob/master/API Reference_V4.1.0326/android/device/DeviceManager.html"
    click ScanManager "https://github.com/urovosamples/SDK_ReleaseforAndroid/blob/master/API Reference_V4.1.0326/android/device/ScanManager.html"
    click ICCManager "https://github.com/urovosamples/SDK_ReleaseforAndroid/blob/master/API Reference_V4.1.0326/android/device/IccManager.html"
    click PICCManager "https://github.com/urovosamples/SDK_ReleaseforAndroid/blob/master/API Reference_V4.1.0326/android/device/PiccManager.html"
    click MagManager "https://github.com/urovosamples/SDK_ReleaseforAndroid/blob/master/API Reference_V4.1.0326/android/device/MagManager.html"
    click PrinterManager "https://github.com/urovosamples/SDK_ReleaseforAndroid/blob/master/API Reference_V4.1.0326/android/device/PrinterManager.html"
    click SEManager "https://github.com/urovosamples/SDK_ReleaseforAndroid/blob/master/API Reference_V4.1.0326/android/device/SEManager.html"
    click KeyMapManager "https://github.com/urovosamples/SDK_ReleaseforAndroid/blob/master/API Reference_V4.1.0326/android/device/KeyMapManager.html"

    %% Styles
    classDef core fill:#3498db,stroke:#2980b9,color:white
    classDef card fill:#2ecc71,stroke:#27ae60,color:white
    classDef peripheral fill:#e67e22,stroke:#d35400,color:white
    classDef security fill:#f1c40f,stroke:#f39c12,color:black
    classDef default fill:#ecf0f1,stroke:#bdc3c7,color:black

    %% Legend
    subgraph Legend
        CoreComp["Core Components"]:::core
        CardComp["Card Operations"]:::card
        PeriphComp["Peripherals"]:::peripheral
        SecComp["Security Components"]:::security
    end
```
