문제

Right now, you have to use fakeTagsActivity ( http://developer.android.com/resources/samples/NFCDemo/src/com/example/android/nfc/simulator/FakeTagsActivity.html) if you want to test tags with your android application. Do the Android team plan to include this feature in to the emulator, so you could create RFID tags and "connect" them to the phone just with a click? This thing was implemented very well in 2 years old Nokia NFC Manager that came with Nokia 6212 ( http://www.forum.nokia.com/info/sw.nokia.com/id/5bcaee40-d2b2-4595-b5b5-4833d6a4cda1/S40_Nokia_6212_NFC_SDK.html).

Somehow off topic, are there any good code samples for using NFC in Android besides those at official page?

Thank you.

도움이 되었습니까?

해결책

Probably not. The emulator is nice to do some basic development and testing. But for the more advanced topics (like nfc) you have to use a real device.

And because it's really easy to deploy and debug on a real target, it's not likely that it will be implemented on the emulator.

Next to this, there is the fact that the Android Emulator is open source. So, you could add it yourself if you want.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top