Reputation: 115
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 .txt
what should I do ? please help me ...
Upvotes: 3
Views: 12866
Reputation: 10992
Use the PhoneStateListener:
You can read more in the reference.
Upvotes: 3
Reputation: 1566
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)
Upvotes: 0
Reputation: 11889
Take a look at CallLog.Calls
Here are some good tutorials on using call log:
Call Log in Android Application
Upvotes: 7