Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Mikhail Fedotov
Latest commit 7919715 Nov 7, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Use jna wrapper with versioning Nov 7, 2018
gradle/wrapper Update code Nov 2, 2018
.gitignore Update code Nov 2, 2018
LICENSE Update licenses Nov 7, 2018
LICENSE_RUS Update licenses Nov 7, 2018
README.mdown Update licenses Nov 7, 2018
README_RUS.mdown Update licenses Nov 7, 2018
build.gradle Update code Nov 2, 2018 Update code Nov 2, 2018
gradlew Update code Nov 2, 2018
gradlew.bat Update code Nov 2, 2018
settings.gradle Initial commit Mar 11, 2015




Rutoken DemoBank is a demonstrational application which shows a typical usage of the electronic identifier [Rutoken ECP Bluetooth] ( and also contains some useful classes for developers to significantly ease developing for complicated device which combines both typical Bluetooth accessory and SmartCard with reader logics.


Rutoken DemoBank should be built using:

  • Android Studio 3.2 or newer;
  • Android SDK Platform 28 or newer.

External dependencies are located in Rutoken SDK

Required libraries:

  • (Rutoken SDK).

How to build

Copy library to app/src/main/jniLibs/ before building the project.

To build from console:

  • run: ~/demobank-android$> ./gradlew build

To build with Android Studio:

  • open Android Studio
  • select "File">"Open...": "~/demobank-android";
  • select "Build">"Make project".

Preliminary actions

To create a key pair and certificate on Rutoken ECP Bluetooth follow these steps:

  • Download and install Rutoken plugin on your desktop computer;
  • Restart your browser to complete plugin installation;
  • Go to a Rutoken DemoBank website;
  • Connect Rutoken ECP Bluetooth to your desktop via USB cable;
  • Make sure that only red LED is active (without blue). If not, press and hold the button on device until blue light turns off;
  • Make sure that Rutoken ECP is found by the website;
  • Choose "User Registration" ("Регистрация Пользователя") and enter the PIN when it is requested;
  • Make sure that website has found a certificate and a key pair on your device;
  • Disconnect the device from the desktop and connect it to the Android device via Bluetooth.


  • Rutoken DemoBank can only be run on physical devices, not on emulators.


Project source code is distributed under New BSD license if the opposite is not mentioned in the source code entity itself, app/src/main/java/ru/rutoken/demobank directory contains objects of copyright and distributed under commercial license of JSC “Aktiv-Soft”, [License Agreement] ( (only in Russian).

You can’t perform that action at this time.