Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 695
silwar Avatar asked Jun 28 '13 06:06

silwar


People also ask

How do I know which SIM is using data?

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”.

How does data work with Dual SIM?

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.

How can I use one SIM for data and other calls?

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).


1 Answers

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

like image 86
MikroDel Avatar answered Nov 15 '22 00:11

MikroDel