What are my options for always on NFC in my Android app? -


i create app listens nfc tag scans several hours. new nfc intent happen every 2-3 minutes 10-15 minutes apart.

the phone may sitting in users pocket while running there possibility of accidental touch interface.

what options have stop phone going sleep in between each nfc intent user not need continually wake phone scan new nfc tag?

rooting users phones enable nfc not option in scenario.

the thing can think of create blank screen custom unlock code/swipe there no accidental pushes... use lot of battery?

some phones keep scanning nfc when screen locked, won't. there security reasons (some tag payload can forged attack nfc stack), , obvious battery saving reasons. current gsma recommendation in area nfc scanning turned off long screen off. impact of battery depend on chip embedded in phone, impact should noticeable. depending on use case doing card emulation phone or uicc might more efficient.


Comments

Popular posts from this blog

java - JavaFX 2 slider labelFormatter not being used -

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -