[REQ] Sim-switching when roaming app - Android Software Development

Hello developers,
Let me first sketch out the situation:
I'm a student from the netherlands and I study in Belgium. Every weekend I drive back home to work, and on sunday I go back to Belgium.
To save money on roaming I have a magic sim 26th generation dual sim adapter in my phone so I can switch to my Belgian number when I'm in Belgium and to my Dutch number when I'm in the Netherlands.
The menu to switch between the sim cards can be found under the sim toolkit program.
The sim switching has 2 options:
- stk mode: sim switching is done by choosing the corresponding option in the sim toolkit menu
- 007 mode: sim switching is done by saving either a contact named 001 with the number 001 to the sim for sim1, or 002 for sim2
What I'm looking for is an app that can:
- switch sims automatically between countries, I think it's the best to do this by checking if the card is roaming and if so switch to the other sim
- optional: 'lock' one of the two sims via a menue so that when I'm in belgium I can still choose to use my dutch number (I can offcourse also just close the app and use the normal menu)
I don't think the app is very hard to make, but as I have absolutely no coding experience.. Offcourse I am willing to pay for the app, it's gonna save me a lot of money on roaming costs!
If someone is interested in coding this, reply here or send me a personal message/email.
Thanks in advance!

Nobody interested?

Sounds kind of interesting. Can you explain 007 mode a little more.

The 007 mode works like this:
First you have to switch to 007 mode. This is done by tapping the 007 mode option in the sim toolkit menu.
Next when you save a contact with the name '001' and phonenumber '001' to your simcard (not the google contacts), the magic sim notices this and switches to sim card 1.
When you want to switch back to sim2 you save a contact with the name '002' and phonenumber '002' to your simcard (not the google contacts), the magic sim notices this and switches to sim card 2.
When you want to switch back to sim toolkit mode you save a contact with the name '007' and phonenumber '007' to your simcard (not the google contacts), the magic sim notices this and switches to stk mode.

Related

Hiding SIM contacts

Is there anyway to hide the contacts saved on your SIM?
That is, at the moment I have all my contacts saved on the phone with their full details, I also have a basic copy of my contacts saved on my SIM for when the SIM is placed into my second phone (Small phone used when out on the beer :wink: )
But when I open up the Caller ID contacts by default it shows all contacts, both on phone and SIM so I end up getting duplication.
I know I can set the view to Contacts only every time I go into it but I would prefer a more default way of doing it.
Also I'm finding that Caller ID contacts takes a while to open and list all contacts even when my SIM card is empty, is this normal?
Thanks for any help.
A bit off topic, but
Here in germany I can get duplicate sims, so i have one phone for the weekend, and one for work, with both the same number, and the last one i just used or switched on is active. Try that for the UK :wink:
duplicate sims
What make of sim?
. I tried the "magic" multi sim, but the hash is incompatiuble with vodafone(uk). There is probably a hack, but I can't find it.
I dont think any of the sims in UK work with the multi sims or similar products because they use the latest protection, I ended up with 3 destroyed sims while trying. I got in touch with the makers in hong kong and they confirmed that uk sims will not work unless somebody comes up with new software for hacking/cloning.

Phone number display plugin

Hi,
Does anybody know if there is a plugin that displays the carrier and phone number of the current sim in the phone (other than Wivit Sim Switcher which does not yet work on WM5)? I travel significantly so am always swapping pre-paid sims and having to search for the number when on a call and it would be much easier to have it on the today screen.
Thanks
...why don't you use simmanager and put in your (simcard)number into the list with a name like MY NUMBER than it's always by hand...
Thanks, an option, but means I have to search through menus etc, to find the number and also key it in initially. I was looking for a small plugin that would automatically display the provider and number as soon as I put the sim in.

Displaying the own phone-number in TF3D

Hi @ all.
first i have to say sorry for my bad english.
But i hope, i can eyplain my problem (no results using search).
I have by my provider vodafone a "Duo Bill" contract.
This includes on one SIM two phone numbers.
a) a business
b) a private
The problem is, that i forget often with which number i logged in.
Is it possible to display my own number with TF3D instead for example the providername in the right top?
For example changing between business and private:
switch phone off (comm-manager)
switch phone on (comm-manager)
input the private or business PIN
At the time i start the SIM Manager to see my actual number (business or private).
Anyone a idea?
Thanks a lot
FraPow

[TIP][XT1033] Clear All SIM Preferences At Once For DUAL SIM Moto G

Hope you all would have used "Automatic SIM Selection" or "Remember SIM for a number" features in dual SIM Moto G (XT1033).
When "Automatic SIM Selection" is enabled, the phone will learn from pattern of use and automatically selects that as a preferred SIM when calling that contact.
"Remember SIM for a number" is available when you set “Ask every time I make a call” option in “Dual SIM settings->Call settings->Making calls”.
Once these are set, the dialer no longer asks for SIM for some contacts that have their preferences set. But you can always force a SIM for all calls by selecting a SIM as default in call settings.
The SIM preferences for a contact can be changed either by:
Tapping “Change SIM” during call. While this is the only option for unsaved numbers.
By opening contacts application and manually changing for each of the contacts by long holding the contact number
Though these are useful features, it can sometimes be frustrating if you dial a contact/number with wrong SIM (when rate cutter gets over in the SIM you have selected as default ).
You have to keep changing SIM for each and every contact/number for which you have given “remember SIM” or a SIM set automatically by the phone.
I was very much annoyed when I accidentally gave “Remember SIM” for an USSD code (the pop up dialogue to select SIM no longer appears). The code wasn’t saved on the phone or I didn’t get any calling screen (to tap change SIM) to change the SIM while dialing. The only option I had was to change the SIM in SIM settings whenever I wanted to dial that USSD code.
I tried clearing data of dialer/phone apps in settings, but of no use.. then I saw an built-in app called “Automatic SIM selection” (in Android 4.4.4, in older android versions - 'Smart Sim') under “ALL” category in settings->apps. Clearing data of this app deletes all the SIM preferences in one shot for all the contacts (even for unsaved numbers/USSD codes).
I googled a lot to find where these preferences are stored and how to clear them, but I wasn’t able to find. So I wanted to share this with you all.
Please click thanks if you find it helpful or share your ideas how you manage your dual SIM settings. Always happy to learn and help!
Mods, please delete/move this thread if this information is redundant/irrelevant.
Very well documented thank you for the clear cut points and procedure
Can not reset USSD code sim preference in moto g..plzz help
I am having the same problem with my Moto G, for USSD codes, and I could not find the "Smart sim" app under all category under settings.
Please help....
Regards
Kallol
k_allol said:
I am having the same problem with my Moto G, for USSD codes, and I could not find the "Smart sim" app under all category under settings.
Please help....
Regards
Kallol
Click to expand...
Click to collapse
did you try clearing data of app called 'Automatic Sim Selection'.. its with blue M logo.. check and reply so that I can update the OP.
Yes, I did it already, worked for me.
Thanks
kallol
pirate11n11 said:
Hope you all would have used "Automatic SIM Selection" or "Remember SIM for a number" features in dual SIM Moto G (XT1033).
When "Automatic SIM Selection" is enabled, the phone will learn from pattern of use and automatically selects that as a preferred SIM when calling that contact.
"Remember SIM for a number" is available when you set “Ask every time I make a call” option in “Dual SIM settings->Call settings->Making calls”.
Once these are set, the dialer no longer asks for SIM for some contacts that have their preferences set. But you can always force a SIM for all calls by selecting a SIM as default in call settings.
The SIM preferences for a contact can be changed either by:
Tapping “Change SIM” during call. While this is the only option for unsaved numbers.
By opening contacts application and manually changing for each of the contacts by long holding the contact number
Though these are useful features, it can sometimes be frustrating if you dial a contact/number with wrong SIM (when rate cutter gets over in the SIM you have selected as default ).
You have to keep changing SIM for each and every contact/number for which you have given “remember SIM” or a SIM set automatically by the phone.
I was very much annoyed when I accidentally gave “Remember SIM” for an USSD code (the pop up dialogue to select SIM no longer appears). The code wasn’t saved on the phone or I didn’t get any calling screen (to tap change SIM) to change the SIM while dialing. The only option I had was to change the SIM in SIM settings whenever I wanted to dial that USSD code.
I tried clearing data of dialer/phone apps in settings, but of no use.. then I saw an built-in app called “Automatic SIM selection” (in Android 4.4.4, in older android versions - 'Smart Sim') under “ALL” category in settings->apps. Clearing data of this app deletes all the SIM preferences in one shot for all the contacts (even for unsaved numbers/USSD codes).
I googled a lot to find where these preferences are stored and how to clear them, but I wasn’t able to find. So I wanted to share this with you all.
Please click thanks if you find it helpful or share your ideas how you manage your dual SIM settings. Always happy to learn and help!
Mods, please delete/move this thread if this information is redundant/irrelevant.
Click to expand...
Click to collapse
Thanks Man!!!! Awesome!!!
Not working with CyanogenMod resurrection remix rom
Sent from my Moto G using XDA Free mobile app
I found a way to remove remember sim on USSD code on my Moto G
Just add a new contact with number is the USSD code you are using (include special characters e.g. *, #). Then go to the new added contact, tap and hold the number then choose 'Clear default calling SIM'.
moto g3 automatic sim selection issue !!!
Hi guyzz,
As like many of u,am also faced the same problem with automatic sim selection
But now,finally I found a solution for this this solution is mainly fa 5.1.1 version of Android,I Duno it may alzo works for other versions too....
Am using moto g3, in that go to Settings > apps > All > in that select "Automatic sim selection " > now clear the data of it..
Problem solved now... That's all.
pirate11n11 said:
Hope you all would have used "Automatic SIM Selection" or "Remember SIM for a number" features in dual SIM Moto G (XT1033).
When "Automatic SIM Selection" is enabled, the phone will learn from pattern of use and automatically selects that as a preferred SIM when calling that contact.
"Remember SIM for a number" is available when you set “Ask every time I make a call” option in “Dual SIM settings->Call settings->Making calls”.
Once these are set, the dialer no longer asks for SIM for some contacts that have their preferences set. But you can always force a SIM for all calls by selecting a SIM as default in call settings.
The SIM preferences for a contact can be changed either by:
Tapping “Change SIM” during call. While this is the only option for unsaved numbers.
By opening contacts application and manually changing for each of the contacts by long holding the contact number
Though these are useful features, it can sometimes be frustrating if you dial a contact/number with wrong SIM (when rate cutter gets over in the SIM you have selected as default ).
You have to keep changing SIM for each and every contact/number for which you have given “remember SIM” or a SIM set automatically by the phone.
I was very much annoyed when I accidentally gave “Remember SIM” for an USSD code (the pop up dialogue to select SIM no longer appears). The code wasn’t saved on the phone or I didn’t get any calling screen (to tap change SIM) to change the SIM while dialing. The only option I had was to change the SIM in SIM settings whenever I wanted to dial that USSD code.
I tried clearing data of dialer/phone apps in settings, but of no use.. then I saw an built-in app called “Automatic SIM selection” (in Android 4.4.4, in older android versions - 'Smart Sim') under “ALL” category in settings->apps. Clearing data of this app deletes all the SIM preferences in one shot for all the contacts (even for unsaved numbers/USSD codes).
I googled a lot to find where these preferences are stored and how to clear them, but I wasn’t able to find. So I wanted to share this with you all.
Please click thanks if you find it helpful or share your ideas how you manage your dual SIM settings. Always happy to learn and help!
Mods, please delete/move this thread if this information is redundant/irrelevant.
Click to expand...
Click to collapse
I believe this information is relatable to the successors of the Moto G too since the feature has been integral to the entire device line. I have a Moto G Turbo Edition from last year currently running Android 6.0.1 stock OS. The issue is that even after clearing the data of the Automatic Sim Selection app, it doesn't make a difference. Neither does it remember "smartly" which SIM to use nor does it allow me to force a particular SIM as the preferred SIM for calling. Which means no matter what I do, I always get a prompt to choose between the two SIMS and that's very annoying. What do I do?
is this applicable only to the stock ROM. cant find either 'Automatic SIM selection' or 'Smart Sim' in CM
Automatic SIM selection is not part of most custom ROMs i've tried. but wierdly enough, i can't select SIM for all landline calls i make. i just thought this might fix that.
ok, this may be irrelevant but I need "always ask" feature both for call and sending sms. but for sending sms this feature does not working on every custom MM 6.0 rom. only ID6 and CM13 has this function working. anyone here, knows any cause behind that?
Is it possibile to extract the apk from the stock rom and try to install into a custom rom ?
sovking said:
Is it possibile to extract the apk from the stock rom and try to install into a custom rom ?
Click to expand...
Click to collapse
it is possible, provided that the system app/apk you are referring to does not depend on external components/libraries which are part of the stock ROM and not part of any custom ROMs.

[SM-G935FD] [Dual-SIM] Contacts Sim1 or Sim2?

anyone know if there is any way to assign a contact to use a particular Sim with out switching using the Sim manager, when yo dial a number you get the option to select the Sim to use but the contact seem to only use the selected Sim ATM i hang up and you can the redial and select the Sim ( i have my home Sim and works Sim in the phone )
I have tried Samsung but the are unhelpful as i am using the phone in the UK and its not supported in this region,
If anyone in a region where the dual Sim version is supported has 5 mins to chat to samsung via there web chat can ask the question if there is any way to set a contact to dial using sim1 and another contact to use sim2 the ask them to request the feature be added via there dev team it may get added or i may just have to go back to LG as they have better call control..
thanks in advance
copex said:
anyone know if there is any way to assign a contact to use a particular Sim with out switching using the Sim manager, when yo dial a number you get the option to select the Sim to use but the contact seem to only use the selected Sim ATM i hang up and you can the redial and select the Sim ( i have my home Sim and works Sim in the phone )
I have tried Samsung but the are unhelpful as i am using the phone in the UK and its not supported in this region,
If anyone in a region where the dual Sim version is supported has 5 mins to chat to samsung via there web chat can ask the question if there is any way to set a contact to dial using sim1 and another contact to use sim2 the ask them to request the feature be added via there dev team it may get added or i may just have to go back to LG as they have better call control..
thanks in advance
Click to expand...
Click to collapse
Hi,
I also have a G935FD and indeed, you're right I haven't found anything to be able to choose from which sim card you want to call when calling via contacts. It works only when you dial from the touchpad...
Complaining at Samsung might help to implement that process in the upcoming updates.
copex said:
anyone know if there is any way to assign a contact to use a particular Sim with out switching using the Sim manager, when yo dial a number you get the option to select the Sim to use but the contact seem to only use the selected Sim ATM i hang up and you can the redial and select the Sim ( i have my home Sim and works Sim in the phone )
I have tried Samsung but the are unhelpful as i am using the phone in the UK and its not supported in this region,
If anyone in a region where the dual Sim version is supported has 5 mins to chat to samsung via there web chat can ask the question if there is any way to set a contact to dial using sim1 and another contact to use sim2 the ask them to request the feature be added via there dev team it may get added or i may just have to go back to LG as they have better call control..
thanks in advance
Click to expand...
Click to collapse
Settings>SIM card manager>Prefered SIM Card and set your default sim for various services
victoradjei said:
Settings>SIM card manager>Prefered SIM Card and set your default sim for various services
Click to expand...
Click to collapse
thanks but i would still have to change the default every time i called a contact
Just found a new option that will allow you to select "Always Ask" its not perfect but it helps
copex said:
I have tried Samsung but the are unhelpful as i am using the phone in the UK and its not supported in this region,
If anyone in a region where the dual Sim version is supported has 5 mins to chat to samsung via there web chat can ask the question if there is any way to set a contact to dial using sim1 and another contact to use sim2 the ask them to request the feature be added via there dev team it may get added or i may just have to go back to LG as they have better call control..
thanks in advance
Click to expand...
Click to collapse
This is exactly what I found bit annoying, you couldn't set preference per number as which SIM to use out of the box (by not using any app.. just plain OS based solution), I couldn't find any. Tried asking on this & other forums. http://forum.xda-developers.com/s7-edge/help/sgs7-changes-marshmallow-t3353208
On the play store, found couple of paid apps that were doing the job, but one of them was not working on v6.0.1 (app creator was still in process of upgrading app to work on MM v6.0.1), another app gives you 7 days of free usage but costed £5 after that. I also tried to create a solution using Tasker, but it required a plugin which was first app that I mentioned was still under upgrade.
Frustrated with these problems, I decided to take control myself & now I'm in the process of developing an app that will exactly address the number-SIM preference. I found that Android has exposed a multi SIM API in version 5.1, but it's so poorly documented that I got really really angry about lack of information. Somehow I managed to build a workable copy of app. In this app you can specify rules based on Regular Expression number matching as which SIM to use if the dialed number matches regular expression specified. There is also an auto learning feature, where it will remember SIM for a number to dial.
As I said, I'm still in the process of developing this app, it's not professionally perfect but definitely does the job for now.. (It takes lot of time as I'm not an app developer & devoting time is a problem ), there are many features I want to implement in this app, but let's see when I find time. It's working perfectly on my S7E dual sim (I can't guarantee that it will work on any other device - although it should as app is built using androind 5.1 API -- I haven't tested on any other device).
If you need a copy of APK, do PM me & I'll send you one.. I've also posted same message here.
i will be interested to see the final version, ask always is working as a temporary fix.
preferred sim not working
for me if i click on a contact to call someone then it asks call from sim1 or sim 2 but i already chooses sim2 as preference. if i use swipe it is going from sim 2.
victoradjei said:
Settings>SIM card manager>Prefered SIM Card and set your default sim for various services
Click to expand...
Click to collapse

Categories

Resources