This is the payment system for Ubiquitous Computing Systems Lab at NAIST.
- JDK 7
- Smart Card Reader (tested with SCL010)
- MySQL server
- Twitter account
$ ant jar
$ cd dist & java -jar ubiPos.jar
Java properties file for twitter4j.
- debug - Debug flag (Default: false)
- oauth.consumerKey - Twitter consumer key
- oauth.consumerSecret - Twitter consumer secret key
- oauth.accessToken - Twitter access token
- oauth.accessTokenSecret - Twitter access token secret key
Java properties file for general settings.
- graphic.folder - location of folder stored picture
- sound.AUTH_SOUND - location of sound of authentication success
- sound.DENY - location of sound of failing any operations
- sound.END - location of sound of payment
- sound.SAISOKU - location of sound of insufficient funds
Java properties file for database.
- db.driver - JDBC driver class
- db.host - Hostname (Default: localhost)
- db.port - Port number (Default: 3306)
- db.name - Database name
- db.user - Login user name
- db.pass - Login password
Java properties file for java.util.logging package.
- handlers - Log handler (Default: java.util.logging.FileHandler (stored to local file))
- java.util.logging.FileHandler.pattern - a pattern for generating the output file name (Default: %h/ubipos%u.log)
- java.util.logging.FileHandler.append - append onto any existing files (Default: true)
- java.util.logging.FileHandler.limit - an approximate maximum amount to write (in bytes) to any one file (Default: 10240)
- java.util.logging.FileHandler.count - how many output files to cycle through (Default: 7)
- java.util.logging.FileHandler.formatter - the name of a Formatter class to use (Default: java.util.logging.SimpleFormatter)
- .level - logging level (Default: CONFIG)