角色GATT Server/ Peripheral: BLE device
GATT Client/ Central: 手機
未配對情況下,BLE device 會一直廣播,直到手機發送 request 給 BLE device,等待 BLE device 回傳 response。
定義:
uuid 0x2800 is Service
uuid 0x2803 is Characteristics
Ref.
Fred S. changed 2 years agoView mode Like Bookmark
string to calender
Ref.
比較早晚How do I get the currently displayed fragment?
是否同日Comparing two java.util.Dates to see if they are in the same day
java判断两个点之间是否超过24小时or超过5分钟
Fred S. changed 3 years agoView mode Like Bookmark
The ACTION_OPEN_DOCUMENT_TREE intent action, available on Android 5.0 (API level 21) and higher, allows users to select a specific directory
主要的 intent request
Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT_TREE);
Ref.
Android Intent ACTION_OPEN_DOCUMENT_TREE
android Q 使用 ACTION_OPEN_DOCUMENT_TREE 选择目录进行遍历文件夹下文件
Fred S. changed 3 years agoView mode Like Bookmark