2025年12月19日
摘要: 挺有用的 阅读全文
posted @ 2025-12-19 21:28 小沙盒工作室 阅读(8) 评论(0) 推荐(0)
摘要: https://www.bilibili.com/opus/1007502231334813700 阅读全文
posted @ 2025-12-19 15:57 小沙盒工作室 阅读(15) 评论(0) 推荐(0)
摘要: // 对"1","0"转换boolean private boolean stringToBoolean(String str) { return str.trim().equals("1"); } 阅读全文
posted @ 2025-12-19 13:12 小沙盒工作室 阅读(2) 评论(0) 推荐(0)
摘要: try (BufferedReader reader = new BufferedReader(new FileReader(verifyFile))) { String line; while ((line = reader.readLine()) != null) { System.out.pr 阅读全文
posted @ 2025-12-19 13:02 小沙盒工作室 阅读(3) 评论(0) 推荐(0)
摘要: private boolean requestStorage() { // Android 11 (API 30) 及以上版本的处理逻辑 if(Build.VERSION.SDK_INT >= 30) { if(!Environment.isExternalStorageManager()) { I 阅读全文
posted @ 2025-12-19 12:51 小沙盒工作室 阅读(21) 评论(0) 推荐(0)
摘要: -- 核心函数:检查并申请存储权限 function checkAndRequestStoragePermission() -- 使用数字进行版本检查,避免引用不存在的常量 -- Android 11 (API 30) 及以上版本的处理逻辑 if Build.VERSION.SDK_INT >= 3 阅读全文
posted @ 2025-12-19 11:37 小沙盒工作室 阅读(6) 评论(0) 推荐(0)
摘要: --[[ AndroLua 文件遍历工具 作者:您的名字 日期:2024年12月18日 功能:递归遍历目录,支持文件过滤和回调处理 ]] require "import" import "java.io.File" import "android.os.Environment" import "an 阅读全文
posted @ 2025-12-19 08:30 小沙盒工作室 阅读(3) 评论(0) 推荐(0)