android - NFC disable adapter -
is possible disable nfc adapter after scan within millisecs? want prevent duplicate scans of same tag. have proved though testing same tag can scanned twice within millisec hovering phone on tag.
i've looked @ nfc api can't see disables adapter. app uses nfc statically don't use instance of nfc adapter class change if reap benefits of disabling adapter.
since can turn off in system settings assume there should way it. should myadapter.disable
or myadapter.disable(something)
or try this:
Comments
Post a Comment