SMSTicket / sms-ticket

Android app which simplifies buying and using tickets for public transportation using SMS
Apache License 2.0
70 stars 30 forks source link

Dual SIM phone problem #23

Closed dejvicna closed 8 years ago

dejvicna commented 9 years ago

Hello.. I've got problem with application od ma dual SIM phone - it's unable to choose, from which SIM I want to send premium SMS. App is sending SMS hardly from SIM 2, which has not alloowed premium SMS. Please give user to choose, which SIM he want to use.. Thank you.. David

TomasKypta commented 9 years ago

Hi, could you write the type of your phone and version of Android OS? Thanks.

I have to warn that we can't guarantee successful fix because dual SIM phones are very problematic from programmers point of view. Before Lollipop there were no APIs for handling multi SIM phones. Some APIs were added in Lollipop and even with these it's still rather problematic to work with multi SIM phones. Multi SIM phones usually have many manufacturers' hacks to Android OS which are difficult/impossible to access by 3rd party apps.

dejvicna commented 9 years ago

Asus Zenfone 5, Android 5.0

davidvavra commented 8 years ago

I have finished implementation of multi-sim support, see screenshot.

It will work only on devices which have Android 5.1 or newer. Android didn't have official support for dual-sim in earlier releases.

6