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:

http://developer.android.com/reference/android/nfc/nfcadapter.html#disableforegrounddispatch(android.app.activity)


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -