| | |
| | | byte[] data = mfc.readBlock(bIndex + 0); |
| | | if (data != null && data.length > 0) { |
| | | String hex = HexUtil.bytesToHex(Arrays.copyOfRange(data, 0, 4)); |
| | | // hex = HexUtil.spaceHex(hex); |
| | | // hex = HexUtil.HighLowHex(hex); |
| | | hex = HexUtil.spaceHex(hex); |
| | | hex = HexUtil.HighLowHex(hex); |
| | | Log.i("NFCWreatActivity", "hex===" + hex); |
| | | return hex.toUpperCase(); |
| | | } |
| | |
| | | byte[] data = mfc.readBlock(bIndex + 0); |
| | | if (data != null && data.length > 0) { |
| | | String hex = HexUtil.bytesToHex(Arrays.copyOfRange(data, 0, 4)); |
| | | hex = HexUtil.spaceHex(hex); |
| | | hex = HexUtil.HighLowHex(hex); |
| | | strData.append(hex); |
| | | strData.append(","); |
| | | Log.i("NFCWreatActivity", "hex===" + hex); |