This is a simple example of how to use the Fidesmo API with using spray
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This is a simple example of how to use the Fidesmo API with spray. It implements the following services:

  • transceive - Simple service that sends some APDUs to the card
  • mifare - A more complex service that initializes, reads and writes to a virtual MIFARE card
  • mifare-pay - Same as above but with payment
  • install - Installs a Java Card app using the CCM api
  • fail - A service that does nothing but fail
  • fail-pay - Same as above but with payment

The service delivery logic is implemented by a separate "DeliveryActor" for each type of service.

Test server

Service provider e26b8f12 is running this service for testing purposes. Beware that it's running on free Heroku instance so it might be quite slow due to spinning down! To test this running service from an Android application call the Fidesmo App using the following code:

Intent intent = new Intent();

The URI encodes the service provider e26b8f12 and the service ID transceive - this example SP implements all the services listed above for easy testing.