https://github.com/skjolber/android-nfc-wrapper
Project wrapping black- and greylisted Android NFC classes, supporting external NFC readers on Android.
https://github.com/skjolber/android-nfc-wrapper
acr acs android bluetooth nfc usb
Last synced: 6 months ago
JSON representation
Project wrapping black- and greylisted Android NFC classes, supporting external NFC readers on Android.
- Host: GitHub
- URL: https://github.com/skjolber/android-nfc-wrapper
- Owner: skjolber
- License: apache-2.0
- Created: 2020-07-17T23:05:43.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-10T22:56:18.000Z (about 4 years ago)
- Last Synced: 2025-02-13T00:29:44.623Z (8 months ago)
- Topics: acr, acs, android, bluetooth, nfc, usb
- Language: Java
- Homepage:
- Size: 134 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/skjolber/android-nfc-wrapper)
# android-nfc-wrapper
Project cloning + wrapping black- and greylisted Android NFC (`android.nfc`) classes.Features:
- Clones a lot of NFC-related interfaces (aidls) and classes, like `Ndef`, `Tag` and `IsoDep`
- Adds wrappers so that the cloned source works in parallel with the native sourcesAdvantages:
* external readers can use the same pattern as internal NFC (i.e. parcelable objects reconnecting to services on deserialization).
* working with dual NFC stacks is simplified, even on the latest Android; independent of which classes will be grey- or blacklisted later.Disadvantages:
* increased footprint due to additonal (duplicated) classes
* does not work out of the box with third party libraries - they must be modified / recompiled to work. This can be solved with a custom processor, but this is yet to be implemented.
## License
[Apache 2.0]## Obtain
The project is built with [Gradle] and is available on the central Maven repository. For Gradle, configure the property```groovy
ext {
androidNfcWrapperVersion = '1.0.1'
}
```and add the dependency
```groovy
api("com.github.skjolber.android.nfc:wrapper:${androidNfcWrapperVersion}@aar")
```# History
- 1.0.1: Return null when tag technology is not in tech list.
- 1.0.0: Initial version extracted from the [external-nfc-api](https://github.com/skjolber/external-nfc-api) project.[Apache 2.0]: http://www.apache.org/licenses/LICENSE-2.0.html
[issue-tracker]: https://github.com/skjolber/android-nfc-wrapper/issues
[Gradle]: https://gradle.org/