摘要: 获取安卓设备的MAC地址需要使用WifiManager,以下是一个获取MAC地址的工具类: ``` import android.annotation.SuppressLint; import android.content.Context; import android.net.wifi.Wifi 阅读全文
posted @ 2023-04-22 21:15 今年我十八岁 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 以下是一个获取安卓设备信息的工具类: ``` import android.content.Context; import android.os.Build; import android.provider.Settings; import android.telephony.TelephonyMa 阅读全文
posted @ 2023-04-22 21:12 今年我十八岁 阅读(65) 评论(0) 推荐(0) 编辑
摘要: 可以使用Java中的DateTime API来判断时间段是否重合。具体实现可以参考以下步骤: 1. 创建需要判断是否重合的时间段对象和已有时间段的对象列表。 ```java // 创建需要判断是否重合的时间段对象 LocalDateTime start1 = LocalDateTime.of(202 阅读全文
posted @ 2023-04-22 06:13 今年我十八岁 阅读(1359) 评论(0) 推荐(0) 编辑