How to test the NFC application of Windows Phone 8 in a simulator
As we all know, Windows Phone 8 SDK simulators do not support NFC testing. If you have developed an NFC-based application, it means that you need two Windows Phone devices that support NFC during the test. Such configuration may discourage many independent developers.
The good news is that the open-source project Proximity Tapper solves the need to test the NFC function in the simulator. It can simulate NFC operations on Windows Phone 8 emulator and debug NFC between Windows Phone and Windows.
Proximity Tapper: https://proximitytapper.codeplex.com/
Important:
The Proximity Tapper running interface, for example, receives a notification from the Windows Firewall when it is started for the first time. You must select all check boxes to allow Proximity Tapper to pass firewall settings. Otherwise, the function of searching for emulator during Proximity Tapper running will be invalid.
We recommend that you temporarily disable the firewall when running Proximity Tapper. When I run Proximity Tapper for the first time, I am worried that the emulator cannot be searched automatically. After that, I close the firewall to automatically find the simulator.
Because Visual Studio does not support running two identical simulators at the same time, you need to select simulators with different resolutions to solve this problem. After the simulator is started, the two Devices will be found in the Devices of Proximity Tapper. Press Ctrl to select the two simulators and click "Tap Selected Devices Remain Connected ". In this way, the NFC function can be tested between two simulators.
The Uri associated message of the application is released through the NFC function. The first simulator Publish Uri Message, and the second simulator can start the application associated with this Uri after receiving the Message through NFC.
Windows Phone details: click here
This article permanently updates the link address: