07-19-2013 05:13 AM - edited 07-19-2013 06:22 AM
I have one question:
When device is locked, NFC service will be off. Do we have any way to NFC service still be on, when device be locked?
Solved! Go to Solution.
07-19-2013 05:32 AM
If you're using card emulation mode then see here:
regarding the settings NFC_SETTING_CE_POWERED_OFF and NFC_SETTING_CE_BACKLIGHT_OFF that control how NFC transactions to the Secure Element are handled. These mirror the settings in Settings > NFC> Allow NFC Card Transactions.
When using reader-writer or peer to peer mode the application must be in the foreground visible to use NFC.
07-19-2013 06:49 AM - edited 07-19-2013 06:52 AM
I want to catch 2 events: "NFC_TAG_READWRITE_EVENT","NFC_TARGET_LOST_EVENT"
when device is locked, and my app is in background. I did with "Geolocation". Can I do with "NFC"?
Nguyen Thai Thuan.
07-19-2013 07:34 AM
When the screen is locked the NFC radio is turned off (you can verify this if you have an external NFC reader) so it's unable to detect a passive target being presented to the handset -- there is no NFC radio field being generated by the handset for the passive target to interact with. Hence no NFC events related to presenting or removing a passive target (such as an NFC tag) will be generated.
As I noted earlier, in card emulation mode, an external reader (active target) is capable of interacting with a secure element in the handset over NFC even when the screen is locked or the device powered off ( this is configurable as noted earlier as well ) -- this is because the external reader is generating an NFC radio field that the handset ( as a passive target ) can interact with.
07-21-2013 09:57 PM - edited 07-21-2013 09:57 PM
I hope that RIM will support NFC likes Bluetooth, it is great. Because both of them are Radio Wave (in near field).