Skip to content

Conversation

MohammadAG
Copy link
Contributor

It works!!! It works I tell you!
I use ServiceManager.getService("nfc") and check if it's null, only if it isn't should NfcAdapter.getDefaultAdapter be called.

Cherry picked commits aren't exactly my specialty, though I assume this should merge cleanly and work as is :)

@C3C0
Copy link
Owner

C3C0 commented Dec 2, 2013

Great job!
Please, note that the official repo for GB is now at https://github.com/GravityBox/GravityBox
There are 2 branches: one for jellybean and one for kitkat. You should send pull request against the jellybean branch.

Btw, in KitKat branch, I already implemented NFC tile using slightly different aproach regarding NfcAdapter availability.
Here's the commit: GravityBox@8909b72

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants