how make call log app in android

后端 未结 3 687
遇见更好的自我
遇见更好的自我 2021-01-01 06:05

I\'m a newbie programmer android I want to make an android app to record phone activities such as incoming calls, outgoing calls, or miss call and record the logs to a file

相关标签:
3条回答
  • 2021-01-01 06:26

    Use the PhoneStateListener:

    • Android Developer: Telephony-PhoneStateListener

    You can read more in the reference.

    0 讨论(0)
  • 2021-01-01 06:28

    You probably want to create a service that periodically records call logs. I'd recommend using the CallLog class and since you're a newbie, some tutorial on creating services (use Google)

    0 讨论(0)
  • 2021-01-01 06:35

    Take a look at CallLog.Calls


    Here are some good tutorials on using call log:

    android-tutorial-call-logs

    Call Log in Android Application

    reading-call-log-from-phone

    accessing-call-logs

    0 讨论(0)
提交回复
热议问题