GravityBox icon indicating copy to clipboard operation
GravityBox copied to clipboard

Implemented NFC Quick Settings tile

Open MohammadAG opened this issue 11 years ago • 1 comments

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 :)

MohammadAG avatar Dec 02 '13 13:12 MohammadAG

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: https://github.com/GravityBox/GravityBox/commit/8909b727e09fe6ed8b24ba13672e184543f291fd

C3C0 avatar Dec 02 '13 13:12 C3C0