I am developing application which calculates data and voice usage from user's android phone. Issue I am facing is differentiating this data according to numbers in dual sim phones. (e.g. If I make call from SIM 1 then voice usage should be mapped against corresponding number)
I have searched in SO for this kind of code snippet but had no luck.
Is this possible in Android programmatically by any means ? If yes, then what could be best possible solution for this.
Go to Settings - Mobile Data/Cellular - Mobile Data - turn off Allow Mobile Data Switching. If you do not want to turn off Allow Mobile Data Switching mode but want to be aware of which SIM is using data, then navigate to your device's Mobile / Cellular Settings and check under “Mobile Data”.
Dual SIM Dual Active smartphones have both their SIM cards permanently active and, when you are having a conversation on one of them, the other still works and receives calls, messages or data.
Before you can use the SIM cards, you have to enable them in the Dual SIM settings menu. Data traffic can only be handled on one SIM card at a time and you can select which SIM card you want to use. At any given time, you can select which SIM card to use for making a call or sending a text message (SMS).
There is no support for dual slim as for today. Thats mean - there is no any official public API available.
Issue 14799: Dual SIM cards supporting
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With