In This project creating a incomming outgoing call log with call duration.
Created three broadcast reciever.
a. Broadcast Reciever for Incomming call (IncomingCall.java).
b. Broadcast Reciever for Outgoing call (OutgoingCall.java).
c. Broadcast Reciever for Call duration (CallDurationReceiver.java).
Created controller file Controller.java
Created a list to show what type of call log want to show. created three files
a. CallList.java to show call list options.
b. CallListData.java to create each row data in list.
c. CallListValues.java Model to store each row data for list.
DBAdapter.java to store call data in sqlite database.
CallDetailServer.java to store sqlite data to server and show call data to activity.
1. When a call will come then IncommingCall.java and CallDurationReceiver.java broadcast recievers called and data store in sqlite database.
2. When a call will make to other then OutgoingCall.java and CallDurationReceiver.java broadcast recievers called and data store in sqlite database.
3. When click on Call log type (today/weekly/monthly) one request sent to server and calllogserver.php called and return result based on imei number and show on activity.