I'm creating an app which automatically lists the calls and sms of a day in the order of time. I completed the codes to store both sms and calls to the Database using services. I have 2 table:
Table Call(number, name, call_type, call_duration, date, time, time_in_milliseconds (long))
Table Sms(number, name, message, date, time, time_in_milliseconds (long))
I need to compare both tables based on time_in_milliseconds
, and retrieves the entire row and set to text view in the order of time_in_milliseconds
increases.