Using to disable auto saving battery feature Transfer APDU to card and get return data back We suggestion customer using private API, because it is easy to use and without complex configuration, all API wrote by Java, so you can copy the ftsafe.jar into your project and using the private API directly Functionįind the reader, this API will scan Bluetooth and USB, to list the reader found įeitian private API, support Bluetooth, OTG and Bluetooth smart interface reader from Feitian. You can copy below code into your AndroidManifest.xml file.
Our SDK need access the USB and Bluetooth device, so before start development, we need open the authority. We provide demo source code for integration, you can check the code and make your own code. Make sure all related files already in the project which listed in figure 2. Import the whole project into your eclipse, build and run.
#Smart card reader for android android
The project is developed based on eclipse, please using eclipse + NDK + Android on your PC. The.a is PCSC client side, it send request to ftsafe.jar, for example, when user call ScardConnect, then.a will send request to ftsafe.jar to connect the reader, then the ftsafe.jar will call USB or Bluetooth framework do connect the reader and get data back so in your project, you will include this file too. Static Library – PC/SC API definition, all related files need include to your project ft_pcsc.hīased on above, the ftsafe.jar is service side, it will running as PCSC service to handle the request from.a. This jar include communication API and private API, also include the service, you can include this jar into your project and using private API directly, without load.h and.a files) We prefer using private API for your new project, and the PC/SC compatible API for exist project which you already using on PC platform. We provide two interfaces and libraries to access the mobile reader, the simplest private API based on java language and PC/SC compatible API based on C language. Alternatively, you can choose the Bluetooth 3.0 or 4.0 as communication channel work with reader. IR301, BR301, BR301BLE, BR500, more information, please go our website see more details:īelow is the interface support by Android: Reader nameĪbove showed the interface be supported by these readers, all readers had Micro USB interface, so you can using OTG cable with reader on Android platform. The Feitian combo SDK supported below readers: This chapter covers the following topics:Īpplication development interfaces and library of Feitian mobile readersĭevelopment of applications using PC/SC interfacesĭevelopment of applications using private interfaces
#Smart card reader for android how to
This document describes how to develop application based on Feitian Mobile SDK, including the development interfaces supported by mobile readers and how to develop applications based on these interfaces.