https://github.com/clistery/callrecord
通话记录
https://github.com/clistery/callrecord
android callrecorder kotlin sqlite-android
Last synced: 11 months ago
JSON representation
通话记录
- Host: GitHub
- URL: https://github.com/clistery/callrecord
- Owner: CListery
- License: apache-2.0
- Created: 2019-06-24T07:17:51.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-01-17T02:42:23.000Z (about 2 years ago)
- Last Synced: 2025-01-24T01:36:29.811Z (about 1 year ago)
- Topics: android, callrecorder, kotlin, sqlite-android
- Language: Kotlin
- Homepage:
- Size: 721 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[](https://jitpack.io/#CListery/CallRecord)
[](https://developer.android.com/about/versions/android-4.4.html)
[](http://www.apache.org/licenses/LICENSE-2.0)
# CallRecord
通话记录同步记录库
## 工作原理
1. 该库通过 PhoneStateListener 监听当前通话记录并且兼容至 Android KitKat
2. 在某些低版本机型无法通过 PhoneStateListener 的回调获取到当前通话号码,则在通话结束后通过时间范围锁定目标系统通话记录并同步数据
3. 使用 MediaRecorder 对 VOICE_COMMUNICATION 进行监听并输出为音频 (由于无法直接监听通话上下流,所以音频质量较差,目前该功能比较鸡肋)
## Dependencies
- [Realm](https://github.com/realm)
- [RxAndroid](https://github.com/ReactiveX/RxAndroid)
- [Kotlin-Realm-Extensions](https://github.com/CListery/Kotlin-Realm-Extensions)
- [AndLinker](https://github.com/codezjx/AndLinker)