ID TECH UniMag Android SDK User Manual



Similar documents
Advertiser Campaign SDK Your How-to Guide

Installing the Android SDK

Informatics for Integrating Biology & the Bedside. i2b2 Workbench Developer s Guide. Document Version: 1.0 i2b2 Software Release: 1.3.

Android Setup Phase 2

Mocean Android SDK Developer Guide

Android Development. 吳 俊 興 國 立 高 雄 大 學 資 訊 工 程 學 系

Developing In Eclipse, with ADT

Download and Installation Instructions. Android SDK and Android Development Tools (ADT) Microsoft Windows

How to develop your own app

How To Write A File Station In Android.Com (For Free) On A Microsoft Macbook Or Ipad (For A Limited Time) On An Ubuntu 8.1 (For Ubuntu) On Your Computer Or Ipa (For

Android Development Setup [Revision Date: 02/16/11]

With a single download, the ADT Bundle includes everything you need to begin developing apps:

Running a Program on an AVD

ParishSOFT Remote Installation

Developer Guide. Android Printing Framework. ISB Vietnam Co., Ltd. (IVC) Page i

Supplement I.B: Installing and Configuring JDK 1.6

Islamic University of Gaza. Faculty of Engineering. Computer Engineering Department. Mobile Computing ECOM Eng. Wafaa Audah.

Enterprise Historian 3BUF D1 Version 3.2/1 Hot Fix 1 for Patch 4 Release Notes

Open a PDF document using Adobe Reader, then click on the Tools menu on the upper left hand corner.

BioWin Network Installation

How to build your first Android Application in Windows

Getting Started with Android Development

How to Join or Accept a GoToMeeting Videoconferencing Request

Tutorial: Android Object API Application Development. SAP Mobile Platform 2.3

User Manual. UniMag Magnetic Stripe Reader For Mobile Devices

Login with Amazon Getting Started Guide for Android. Version 2.0

Tutorial: Android Object API Application Development. Sybase Unwired Platform 2.2 SP02

Advantages. manage port forwarding, set breakpoints, and view thread and process information directly

Setting up Sudoku example on Android Studio

Zanibal Plug-in For Microsoft Outlook Installation & User Guide Version 1.1

How to Install Applications (APK Files) on Your Android Phone

Hello World. by Elliot Khazon

Migrating MSDE to Microsoft SQL 2008 R2 Express

Introduction: The Xcode templates are not available in Cordova or above, so we'll use the previous version, for this recipe.

Virtual Office Remote Installation Guide

Supplement I.B: Installing and Configuring JDK 1.6

The "Eclipse Classic" version is recommended. Otherwise, a Java or RCP version of Eclipse is recommended.

eadvantage Certificate Enrollment Procedures

Introduction to Android Development

Android Environment SDK

Using SSH Secure Shell Client for FTP

How to Create an Android Application using Eclipse on Windows 7

Firmware Update Instruction Manual

IIS, FTP Server and Windows

Oracle FLEXCUBE Direct Banking Android Tab Client Installation Guide Release

Procedure for updating Firmware of EZ4 W or ICC50 W

Account Create for Outlook Express

ANDROID APPS DEVELOPMENT FOR MOBILE AND TABLET DEVICE (LEVEL I)

SIM900 Eclipse environment install Application Note_V1.00

Colorfly Tablet Upgrade Guide

Tutorial: Android Object API Application Development. SAP Mobile Platform 2.3 SP02

KeePass Getting Started on Windows

Fahim Uddin 1. Java SDK

Introduction to NaviGenie SDK Client API for Android

Using ProjectWise Explorer for File Transfer

About this Release. Introduction. Prerequisites. Installation. Using the Web SDK Packager

Android Application Development

Measuring The End-to-End Value Of Your App. Neil Rhodes: Tech Lead, Mobile Analytics Nick Mihailovski: Developer Programs Engineer

File Manager Pro User Guide. Version 3.0

Developing NFC Applications on the Android Platform. The Definitive Resource

SSL Intercept Mode. Certificate Installation Guide. Revision Warning and Disclaimer

PubMatic Android SDK. Developer Guide. For Android SDK Version 4.3.5

CenterLight Remittance Reader Installation Guide(64 bit) CenterLight Remittance Reader Installation Guide (64 bit) Page 1 of 15

Developing for MSI Android Devices

Informatica Cloud Connector for SharePoint 2010/2013 User Guide

Android Environment SDK

Troubleshooting Guide. 2.2 Click the Tools menu on Windows Explorer 2.3 Click Folder Options. This will open a dialog box:

Mobile Client SDK for Android Developer's Guide

Epidefender Studio Installation notice

475 Field Communicator and 375 Field Communicator. VERSION 3.x UPGRADE PROCEDURES

Developer Guide: Android Object API Applications. SAP Mobile Platform 2.3 SP02

Qsync Install Qsync utility Login the NAS The address is :8080 bfsteelinc.info:8080

Google App Engine f r o r J av a a v a (G ( AE A / E J / )

How To Develop An Android App On An Android Device

Witango Application Server 6. Installation Guide for Windows

Eclipse installation, configuration and operation

Android Development Tutorial. Nikhil Yadav CSE40816/ Pervasive Health Fall 2011

Qualcomm IR-I 2 C Bridge Demo

Configuring the BBj Jetty Web Server (rev10.02) for OSAS

Installing GFI Network Server Monitor

INF 111 / CSE 121. Homework 4: Subversion Due Tuesday, July 14, 2009

Bitrix Site Manager ASP.NET. Installation Guide

Enjoying EPUB ebooks on Your Nook

Credit Card Functionality in IMS

How To Configure CU*BASE Encryption

SECURITY SYSTEM MANAGEMENT SOFTWARE FOR WINDOWS. Quick Start Instructions

Software Upgrade Assistant Manual for DuraXV

Overview of Web Services API

Introduction to Gear VR Development in Unity APPENDIX A: SETUP (WINDOWS 7/8)

Client Instructions - ID Tech Configuration Instructions

3. USB DRIVER Installation of USB driver Driver for Infinity SD Data Logger. INFINITY Series Acquisition Tools Manual

Download and Installation Instructions. Android SDK and Android Development Tools (ADT) Microsoft Windows

Installation Instructions

How To Upgrade A Yarvik Gotab Tablet To Android 4.0 (For Android) (For Ipad) 4Th Generation (For Microsoft) 4S) 4G (For Zemmer) 4

Census. di Monitoring Installation User s Guide

Tutorial: BlackBerry Object API Application Development. Sybase Unwired Platform 2.2 SP04

Technical Paper. Defining an ODBC Library in SAS 9.2 Management Console Using Microsoft Windows NT Authentication

Driver s License Camera Scanner Installation Guide!

Bentley CONNECT Dynamic Rights Management Service

Downloading ebooks to a PC & Transferring the ebook to a Sony Reader or Nook

Transcription:

ID TECH UniMag Android SDK User Manual 80110504-001-A 12/03/2010

Revision History Revision Description Date A Initial Release 12/03/2010 2

UniMag Android SDK User Manual Before using the ID TECH UniMag Android SDK, please have the following programs installed: 1. Android SDK 2. Eclipse 3. ADT Plugin for Eclipse Please see http://developer.android.com/sdk/index.html for download links and instructions. To use the UniMag Android SDK 1. First, create an Android project. Please see http://developer.android.com/resources/tutorials/hello-world.html for sample instructions. 2. Import the UniMag SDK package into the Android project. 1) On the Package Explorer panel, right-click on the project and select Properties. 3

2) From the Java Build Path menu, select the Libraries tab. 3) Press the Add External JARs... button and browse to the IDTuniMagSDKAndroid.jar file 4

3. On the Package Explorer panel, double click on the AndroidManifest.xml. Add the following permissions <uses-permission android:name="android.permission.record_audio"/> <uses-permission android:name="android.permission.mount_unmount_filesystems"/> <uses-permission android:name="android.permission.write_external_storage"/> 5

4. Implement the interface unimagreadermsg in your Activity extension class. There are six interface functions to implement, please see the following definition of each interface. public interface unimagreadermsg { } public void onreceivemsgtoconnect(); public void onreceivemsgconnected(); public void onreceivemsgdisconnected(); public void onreceivemsgtimeout(string strtimeoutmsg); public void onreceivemsgtoswipecard(); public void onreceivemsgcarddata(string strmsrdata); 6

The following is the description for each interface Item Interface Description 1 onreceivemsgtoconnect To receive massages when the device is powered up 2 onreceivemsgconnected To receive massages when the UniMag device is connected to the phone 3 onreceivemsgdisconnected To receive massages when the UniMag device is disconnected to the phone 4 onreceivemsgtimeout To receive massages when power up or card swipe mode is timed out 5 onreceivemsgtoswipecard To receive massages when you swipe the card 6 onreceivemsgcarddata To receive the card data 5. Manage the class unimagreader to operate the UniMag Reader. You can manage the class unimagreader to start or stop swiping a card. First create an instance of unimagreader and then invoke the function of the class. The class functions are listed below: public class unimagreader { public String getinfomanufacture(); public String getinfomodule(); public void setsavelogenable(boolean bsavelog ); public void startswipecard(); public void registerlisten(); public void stopswipecard(); public void unregisterlisten(); } public boolean isswipecardrunning(); 7

The following is the description for each interface Item Function Description 1 String getinfomanufacture() To get the phone manufacturer information. 2 String getinfomodule(); To get the module information. 3 void setsavelogenable(boolean bsavelog ); To enable an event log saved in the SD card root directory 4 void startswipecard(); To start a card swipe 5 void registerlisten(); To register to listen to the headset events. This function should be invoked when the application is launched. 6 void stopswipecard(); To stop a card swipe event. This function should be invoked when the application is exited. 7 void unregisterlisten(); To unregister to listen the headset events. This function should be invoked when the application is exited. 8 boolean isswipecardrunning(); To check to see if a card is being swiped. If true, to set log enable is forbidden. If false, the event logs can be enabled. For more information on how to use the above functions, please refer to the UniMag Android SDK demo source code. Note: 1. Please do not connect the mobile phone to PC as the USB Mass Storage device when you swipe a card. 2. When the to power up dialog shows up on the screen for more than 30 seconds with no timeout error, please verify that the headphone Media Volume is set to maximum and re-plug the UniMag device. 8