Skip to content
This repository has been archived by the owner on Dec 27, 2017. It is now read-only.

Simple Android client to communicate with the Java Card counter on a Fidesmo card

License

Notifications You must be signed in to change notification settings

fidesmo/counter-android-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

counter-android-client

This repository contains a simple Android app based on the code for the Android NFC tutorial at Fidesmo Developer Portal.

Functionality

The app implements a user interface towards the Counter Applet, which is running on a Fidesmo Card. It implements two simple functions:

  • A button to show the current value of the counter, as stored on the card.
  • A button to decrement the counter. If the counter's value was 0, the card will return an error. The UI reflects it by showing a red error sign.

Build instructions: command line

  • Clone this repository
  • In the project's root directory, type ./gradlew build
  • To install the app into a connected phone or an emulator, type ./gradlew installDebug or adb install build/apk/counter-android-client-debug-unaligned.apk

Build instructions: Android Studio IDE

  • Clone this repository
  • In Android Studio, go to menu File -> Import Project
  • In the dialog box "Select Gradle Project Import", find this project's root directory in your filesystem and click 'OK'

Releases

The code in this repository is not written to be released, only as an example to be shared with a customer.

About

Simple Android client to communicate with the Java Card counter on a Fidesmo card

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages