2018-12-11 08:50:53 +00:00
|
|
|
# Keycard Java SDK for Android and Desktop
|
2018-11-15 17:16:18 +00:00
|
|
|
|
2018-12-07 13:44:02 +00:00
|
|
|
This SDK simplifies integration with the [Status Keycard](https://github.com/status-im/status-keycard) in Android
|
2018-12-11 08:50:53 +00:00
|
|
|
and Desktop applications. In this SDK you find both the classes needed for generic communication with SmartCards as well
|
|
|
|
as classes specifically addressing the Keycard.
|
2018-11-15 17:16:18 +00:00
|
|
|
|
2018-12-11 08:50:53 +00:00
|
|
|
To get started, check the file ```demo-android/src/main/java/im/status/keycard/app/MainActivity.java``` which a simple
|
|
|
|
demo application showing how the SDK works and what you can do with it.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
You can import the SDK in your Gradle or Maven project using [Jitpack.io](https://jitpack.io).
|
|
|
|
|
|
|
|
### On Android
|
|
|
|
|
|
|
|
```groovy
|
|
|
|
dependencies {
|
2019-03-27 16:03:09 +00:00
|
|
|
implementation 'com.github.status-im.status-keycard-java:android:2.1.1'
|
2018-12-11 08:50:53 +00:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
### on the desktop
|
|
|
|
|
|
|
|
```groovy
|
|
|
|
dependencies {
|
2019-03-27 16:03:09 +00:00
|
|
|
implementation 'com.github.status-im.status-keycard-java:desktop:2.1.1'
|
2018-12-11 08:50:53 +00:00
|
|
|
}
|
|
|
|
```
|