Code Monkey home page Code Monkey logo

nfc-talk's Introduction

NFC Talk

NFC Talk application demonstrates connection initiation by tapping devices together or by searching for nearby devices over Bluetooth, using the Windows Phone 8 Proximity API, the Windows.Networking.Proximity.PeerFinder and related classes.

Screenshot 1ย  Screenshot 2

The example has been developed with XAML for Windows Phone devices and tested to work on Lumia devices with Windows Phone 8.

This example application is hosted in GitHub: https://github.com/Microsoft/nfc-talk

For more information on implementation and porting, visit Lumia Developer's Library: http://developer.nokia.com/Resources/Library/Lumia/#!code-examples/nfc-talk.html

  1. Instructions

This is a simple build-and-run solution. Learn about Proximity API usage for opening communication channels to application instances on other devices by trying out the application.

To build the application you need to have Windows 8 and Windows Phone SDK 8.0 or later installed.

Using the Windows Phone 8 SDK:

  1. Open the SLN file: File > Open Project, select the file NFCTalk.sln
  2. Select the target 'Device'.
  3. Press F5 to build the project and run it on the device.

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

  1. Implementation

Important files and classes:


File Description


MainPage.xaml(.cs) The main page of the application.

TalkPage.xaml(.cs) The page that is used to chat with peer.

SettingsPage.cs The page that is used to configure chat name.

PeersPage.cs The page that is used to show a list of detected remote peers.

Communication.cs Class that encapsulates the usage of the Proximity API.


Required capabilities:

  • ID_CAP_NETWORKING
  • ID_CAP_PROXIMITY
  1. License

See the license text file delivered with this project. The license file is also available online at https://github.com/Microsoft/nfc-talk/blob/master/Licence.txt

  1. Version history

  • Version 1.1: Peer browsing support (also for NFC-less devices).
  • Version 1.0: The first release.

nfc-talk's People

Contributors

shyofutu avatar tompaana avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.