3 Star 1 Fork 0

Gitee 极速下载 / nfc-talk

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/Microsoft/nfc-talk
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

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 是一个使用 NFC tap(自助网络平台)和 Bluetooth 搜索来建立信号连接和数据通信的开发包 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C#
1
https://gitee.com/mirrors/nfc-talk.git
git@gitee.com:mirrors/nfc-talk.git
mirrors
nfc-talk
nfc-talk
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891