- 在 ReadCardActivity 中添加 onDestroy() 方法 - 在 onDestroy() 中添加资源释放逻辑,包括: - 移除 handler 回调 - 解绑 BluetoothLeService - 关闭 BluetoothLeService 和 BluetoothController - 注销 BluetoothController 接收器 - 关闭 executorService - 优化资源释放顺序,确保正确关闭和解绑
- 实现蓝牙设备扫描、连接和读卡功能 - 添加卡信息处理和展示逻辑 - 集成第三方库实现 EMV 进程和数据解析