Amadis

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Package overview

Delivery type

Version

Release Date

Android AAR archive

1.0.9

23 March 2020

Release content

Item

Format

Version

Purpose

libgpi.so

Dynamic library (multi arch)

3.5.1

GPI Interface

libdev.so

Dynamic library (multi arch)

3.5.1

Device Interface

libxgpi.so

Dynamic library (multi arch)

N/A

Extended GPI Interface

libatp.so

Dynamic library (multi arch)

0.0

Transport Protocol

libagnosdb.so

Dynamic library (multi arch)

3.5.0

EMV Tags Manager

libagnos.so

Dynamic library (multi arch)

3.5.2

EMV Core Engine

libagnosmw.so

Dynamic library (multi arch)

3.5.1

EMV Data Model Manager

libagnosep.so

Dynamic library (multi arch)

3.5.2

EMV Entry Point

libagnosl2.so

Dynamic library (multi arch)

0.0.4

Open L2 API

libc2.so

Dynamic library (multi arch)

C2 2.7 1.0.1

MasterCard PayPass

libc3.so

Dynamic library (multi arch)

VCPS 2.1 + UL4 1.2.0

Visa Contactless Card Processing, specs 2.2.

libtlv.so

Dynamic library (multi arch)

1.0.8

TLV library

Dev.class

Java class

N/A

Device library JNI wrapper

DevListener.class

Java interface

N/A

Device library callback handler

Rpc.class

Java class

N/A

Communication protocol handler (between device library and Android application)

Utils.class

Java class

N/A

Tools

 

New features / Enhancements

Updated C3 2.1 + UL4 from version 1.1.0 to version 1.2.0.

Fixed Issues

N/A

Known Issues

N/A

Deferred Issues

N/A

Installation notes

To import an AAR module into a project, right-click on the project name, then select “Open Module Settings”.

 

Once in the module management page, click on “+” to import a new module.

 

Then select “Import .JAR/.AAR Package”.

 

Select the path where the .AAR package is located and give it an appropriate name.

 

Once all the necessary modules are imported, click on the “Apply” to refresh the modules manager content.

 

To connect your modules to the main application, click on the “Dependencies” category on the left of the window. Select the main application and click on “+” to add the necessary dependencies.

 

Check the boxes corresponding to the modules to be connected with the main application.

 

Click “OK” to finalise the operation.

 

Usage

 

Using Agnoid package is quite easy and straightforward. After having added the agnoid module to the project as described above:

 

Import necessary packages/classes:

import com.amadis.agnoid.Dev;                                                   
import com.amadis.agnoid.DevListener;                                           
import com.amadis.agnoid.Rpc; 

 

Set your main class/activity to implement DevListener:

public class MainActivity implements DevListener

 

Create and start Dev:

this.dev = new Dev(this, this, this);          
                                        
(new Thread(this.dev)).start(); 

 

Override the required functions:

@Override                                                                   
public void handleDevEvent(byte[] data) {                              
    ...                                                            
}   

@Override                                                                   
public byte[] handleDevRequest(byte[] data) {                              
    ...                                                            
}    

  • No labels