123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- NFC NDEF Tag Reader
- ===================
- A simple NFC tag reader application for Windows Phone 8. This Nokia example app
- demonstrates how to use the Proximity API to read NFC Data Exchange Format
- (NDEF) compliant tags.
- This example application is hosted in Nokia Developer Projects:
- - http://projects.developer.nokia.com/nfctagreader
- For more information on implementation and porting, visit the wiki pages:
- - http://projects.developer.nokia.com/nfctagreader/wiki
- 1. Implementation
- -------------------------------------------------------------------------------
- 1.1 Important files and classes
- -------------------------------
- - MainPage.cs:
- Ties the UI and the application logic together. Contains the method for
- parsing the NDEF data. Shows the log containing the details of each tag
- read.
- - NdefRecordUtility.cs:
- Contains utility methods for handling NDEF tag data.
- - NdefRecord.cs: Container class for NDEF record data.
- - NdefRecordTypeDefinitions.cs:
- Contains the implementation for two Record Type Definitions (RTD) classes:
- NdefTextRtd and NdefUriRtd. Like the names of the classes indicate, the
- first is for text and the second for URI types.
- 1.2 Used APIs
- -------------
- - Windows.Networking.Proximity: ProximityDevice
- 2. Compatibility
- -------------------------------------------------------------------------------
- Compatible with Windows Phone 8. Developed with Microsoft Visual Studio Express
- 2012 for Windows Phone.
- 2.1 Required Capabilities
- -------------------------
- ID_CAP_NETWORKING
- ID_CAP_PROXIMITY
- 2.2 Known issues
- ----------------
- None.
- 3. Building, installing, and running the application
- -------------------------------------------------------------------------------
- 3.1 Preparations
- ----------------
- Make sure you have the following installed:
- * Windows 8
- * Windows Phone SDK 8.0
- 3.2 Using the Windows Phone 8 SDK
- ---------------------------------
- 1. Open the SLN file:
- File > Open Project, select the file NfcNdefTagReader.sln
- 2. Select the target 'Device'.
- 3. Press F5 to build the project and run it on the device.
- 3.3 Deploying to Windows Phone 8
- --------------------------------
- Please see the official documentation for deploying and testing applications on
- Windows Phone devices:
- http://msdn.microsoft.com/en-us/library/gg588378%28v=vs.92%29.aspx
- 4. License
- -------------------------------------------------------------------------------
- See the license text file delivered with this project. The license file is also
- available online at
- http://projects.developer.nokia.com/nfctagreader/browser/Licence.txt
- 5. Related documentation
- -------------------------------------------------------------------------------
- - Nokia Developer: NFC:
- - http://www.developer.nokia.com/Develop/NFC/
-
- - NFC Forum Specifications:
- - http://www.nfc-forum.org/specs/
- 6. Version history
- -------------------------------------------------------------------------------
- 1.0 Initial release
|