How to distinguish data / voice usage for dual sim in Android

I am developing an application that calculates data and voice usage from an android user phone. The problem I am facing distinguishes this data according to the numbers in the two SIM phones. (for example, if I make a call from SIM card 1, then voice use must be matched with the corresponding number)

I searched in SO for this kind of code snippet, but no luck.

Is it possible in Android programmatically in any way? If so, what could be the best possible solution for this.

+6
source share
1 answer

To date, there is no support for double fineness. This means that there is no official public API.

Issue 14799: dual SIM support

+2
source

Source: https://habr.com/ru/post/948294/


All Articles