Enable/Disable NFC with ADB command

后端 未结 6 2090
無奈伤痛
無奈伤痛 2020-12-20 16:15

Is there any way to disable/enable NFC via ADB shell commands?

I found one answer here.

What I tried from the above link:



        
6条回答
  •  -上瘾入骨i
    2020-12-20 17:04

    For Android Version > 7, please use following -

    # Enable NFC
    service call nfc 7
    # Disable NFC
    service call nfc 6
    

    Verified on 7.1.1... Should work for atleast 7.x

提交回复
热议问题