◎위챗 : speedseoul
http://androidexample.com/Tab_Layout_%7C_TabBar_-_Android_Example/index.php?view=article_discription&aid=103&aaid=125
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.