From f5180b600511d1871635bd364beb5bdd15f6ae88 Mon Sep 17 00:00:00 2001 From: zuojincheng <lf_zuo@163.com> Date: 星期三, 26 三月 2025 18:05:07 +0800 Subject: [PATCH] feat(nfc): 优化 NFC写卡功能并添加新方法- 在 BaseNfcWriteHelper 中添加了新的 writeData 方法,增加了 isConnect 参数 - 优化了 NativeNfcWriteHelper 中的 writeData 实现,支持选择性连接 NFC - 更新了 NfcWriteAdapter,支持新的 writeData 方法- 修改了 NfcWreatHelper 中的 writeData 方法,使用新的接口 - 优化了 NfcWreatActivity 中的写卡逻辑 --- qihealonelibrary/CMakeLists.txt | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/qihealonelibrary/CMakeLists.txt b/qihealonelibrary/CMakeLists.txt index f8e6e8b..6a1fdb0 100644 --- a/qihealonelibrary/CMakeLists.txt +++ b/qihealonelibrary/CMakeLists.txt @@ -11,13 +11,13 @@ # Gradle automatically packages shared libraries with your APK. add_library( # Sets the name of the library. - native-lib + qihealone-native-lib # Sets the library as a shared library. SHARED # Provides a relative path to your source file(s). - src/main/cpp/native-lib.cpp ) + src/main/cpp/qihealone-native-lib.cpp ) # Searches for a specified prebuilt library and stores the path as a # variable. Because CMake includes system libraries in the search path by @@ -37,7 +37,7 @@ # build script, prebuilt third-party libraries, or system libraries. target_link_libraries( # Specifies the target library. - native-lib + qihealone-native-lib # Links the target library to the log library # included in the NDK. -- Gitblit v1.8.0