Smsmanager on Dual Sim phones

Asked

Viewed 85 times

3

I have been researching the subject, but I have not yet seen any definitive solution to the problem. Well, my application does send SMS from Smsmanager however, it does not ask which chip to use when running in a Dual Sim application, simply because I have no idea how to do this.

As far as I know, the second parameter of smsManager.sendTextMessage which at the moment is declared as null is responsible for the Service Centre (SMSC) that will be used for sending, which would result in sending by the correct chip, in parts since the user can have a cell phone with two chips of the same operator, using the same SMSC for the two chips.

I checked the documentation of Smsmanager but there is not even any information on use in Dual Sim devices.

And here is my question: how to really use the Smsmanager in Dual Sim devices correctly, always asking which chip will be used for shipping, or setting previously?

1 answer

0

Fala Italo,

I believe this is a function chosen directly on the user’s device.

It is possible to define which YES will be the standard of calls and sending SMS, to revoke this permission, in the device itself one must do:

Configurações >> Wireless & Networks >> SIM Management >> Padrão 

Settings >> Messages >> e selecionar 'Perguntar sempre'.

With this every time you send an SMS through an APP, you will be asked which YES should be used.

Via code you cannot disable the default user choice.

Hugs.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.