简体   繁体   中英

How to call android NFC API to get UID using Python

Hi I am working on Nexus 7 Tab and I have installed Qpython and able to Scan Barcode with below code import androidhelper d = androidhelper.Android() d.scanBarcode() when i run this in Qpython consol I am getting the barcode ID same way iam able to connect,check the status of Bluetooth device, WIFI etc... But iam not able find

  • How have control to ON/OFF the NFC device.
  • How to know the NFC connection status.
  • How to get the TagID when card flashed.

please help me I am trying this from so many days.

QPython的最新版本0.9.6.x支持NFC Message Beam,您可以从http://packages.qpython.org/index.php/qpython-sl4a/获取示例脚本,但是您应该手动启用/禁用NFC设备。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM