Skip to content

Doff3n/phonegap-nfc-reader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhoneGap NFC Reader Demo

Simple web app that reads an NDEF Message from a NFC tag.

The application will read NDEF tags when running.

The android will open the application when a tag with a Mime Media Record of type "text/pg" is scanned

Android

Requires

  • Android Phone with NFC
  • Android SDK
  • PhoneGap 1.9.0 (included in project)
  • phonegap-nfc-0.4.1 plugin (included in project)

Configuration

Generate a local.properties file using the android tool.

$ android update project -p

Building

Use ant to build the code and install on your phone

$ ant debug install

Blackberry

Requires

Configuration

Copy webworks/project.properties.template to webworks/project.properties. Edit the entries for blackberry.bbwp.dir= and blackberry.sigtool.password=.

blackberry.bbwp.dir=/Developer/SDKs/Research\ In\ Motion/BlackBerry\ WebWorks\ SDK\ 2.3.1.5
blackberry.sigtool.password=secret

Building

Use ant to build the code and install on your phone

$ ant blackberry load-device

Known Issues

If you get a ControlledAccessException when registering the NFC listener, the version of the OS is too old. Try version 7.0.0.337 (bundle 1603) or higher.

This code was test on a Blackberry Bold 9900 (GSM) with 7.1.0.284 Bundle 998.

PhoneGap NFC

See phonegap-nfc for more info

About

PhoneGap NFC reader demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published