How to test the NFC application of Windows Phone 8 in a simulator

Source: Internet
Author: User

 

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 open-source projectsProximity tapperThis solution satisfies the requirement of NFC testing in the simulator. It can simulate NFC operation on Windows Phone 8 emulator and debug NFC between Windows Phone and windows.

Proximity tapper: Https://proximitytapper.codeplex.com/

 

Important:

Proximity tapperFor example, if you receive a notification from Windows Firewall when you start Windows 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 startedProximity tapperThe two devices are found in the devices. 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.

 

 

 

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.