OpenHealthCard-Common-Android

The CardReaderProvider-NFC-Android library provides functionality to use the NFC interface on Android devices.

License

License

GroupId

GroupId

de.gematik.ti
ArtifactId

ArtifactId

openhealthcard.common
Last Version

Last Version

1.1.2
Release Date

Release Date

Type

Type

aar
Description

Description

OpenHealthCard-Common-Android
The CardReaderProvider-NFC-Android library provides functionality to use the NFC interface on Android devices.
Project URL

Project URL

https://github.com/gematik/ref-OpenHealthCard-Common-Android
Project Organization

Project Organization

de.gematik
Source Code Management

Source Code Management

https://github.com/gematik/ref-OpenHealthCard-Common-Android

Download openhealthcard.common

How to add to project

<!-- https://jarcasting.com/artifacts/de.gematik.ti/openhealthcard.common/ -->
<dependency>
    <groupId>de.gematik.ti</groupId>
    <artifactId>openhealthcard.common</artifactId>
    <version>1.1.2</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/de.gematik.ti/openhealthcard.common/
implementation 'de.gematik.ti:openhealthcard.common:1.1.2'
// https://jarcasting.com/artifacts/de.gematik.ti/openhealthcard.common/
implementation ("de.gematik.ti:openhealthcard.common:1.1.2")
'de.gematik.ti:openhealthcard.common:aar:1.1.2'
<dependency org="de.gematik.ti" name="openhealthcard.common" rev="1.1.2">
  <artifact name="openhealthcard.common" type="aar" />
</dependency>
@Grapes(
@Grab(group='de.gematik.ti', module='openhealthcard.common', version='1.1.2')
)
libraryDependencies += "de.gematik.ti" % "openhealthcard.common" % "1.1.2"
[de.gematik.ti/openhealthcard.common "1.1.2"]

Dependencies

compile (4)

Group / Artifact Type Version
org.greenrobot : eventbus jar 3.1.1
de.gematik.ti : openhealthcard.events jar 1.2.0
org.slf4j : slf4j-api jar 1.7.25
de.gematik.ti : cardreader.provider.api jar 1.2.1

Project Modules

There are no modules declared in this project.

OpenHealthCard-Common Android Library

Introduction

This part describes the functionality and usability of android common library

API Documentation

Generated API docs are available at https://gematik.github.io/ref-OpenHealthCard-Common-Android.

License

Licensed under the Apache License, Version 2.0.

Overview

This Library contains Controller to inject Android Context to CardReader Provider. For that extends this Library the cardreader.provider.api functionality for Android. Furthermore Controller to request Permissions from Provider to handle e.g. card reader.

OpenHealthCard Common Android library overview

AndroidCardReaderController

This class is an android specific extension of AbstractCardReaderController from package de.gematik.ti.cardreader.provider.api. The additional functionalities are android context handling and permissions requests, necessary for android card reader provider.

OpenHealthCard Common Android library overview

OpenHealthCard AbstractCardReaderController

Getting Started

Build setup

To use OpenHealthCard Common library in a project, you need just to include following dependency:

Gradle dependency settings to use OpenHealthCard Common library.

dependencies {
    implementation group: 'de.gematik.ti', name: 'openhealthcard.common', version: '1.1.2'
}

Maven dependency settings to use OpenHealthCard Common library.

<dependencies>
    <dependency>
        <groupId>de.gematik.ti</groupId>
        <artifactId>openhealthcard.common</artifactId>
        <version>1.1.2</version>
    </dependency>
</dependencies>
de.gematik.ti

Gematik

Versions

Version
1.1.2