Is it possible to utilize the users phone through their cell provider, and track the length of a phone call?
So the user presses a button in the app “Call Now”. A call begins to a pre-determined number. We record the start time. When the call ends, we calculate how many minutes were used.
Possible?
To calculate time talked for both incoming , outgoing calls use the following broadcast receiver :
Register your receiver in your manifest file like this:
Also add the uses permission: