I know Android SDK is big mess for dual SIM support, but stock dialer shows this information on call log which SIM card ( 1 or 2) was used in a call. I guess it´s stored on call log default database and just want to know if it is possible to retrieve it as simple as possible. I don´t need to know if the SIM is the current one in use. By the way, probably the call log became3s a big mess if you change the Sim cards... but it is another subject and does not matter for me (at the moment ;-)
My questions:
1- Is it possible to get it ?
2- Is it a simple query on the file/database? I found an app which does it called 2SIMCallLogger , available on Google Play.
Does anyone guess how they did it?