Mobiion Forum  
May 21, 2012, 02:46:21 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: 1 2 »   Go Down
  Print  
Author Topic: Display Current Number Information for Multi-SIM  (Read 8593 times)
vbexpert
Jr. Member
**
Offline Offline

Posts: 86


View Profile
« on: January 22, 2008, 12:57:15 am »

I like the calling card function. I use a Multi-SIM card which has more than one number in a SIM card. I need to switch from one number to another when I need to using calling card function. The problem is I don't know which number is using currently without launching the STK switch program. Therefore, I request a function to display current number information for Multi-SIM.
The logic is quite simple. Each SIM card has a unique 15 digits IMSI (International Mobile Subscriber Identity) number used to identify an individual user on a GSM network. You can write some code to read the SIM card to get the IMSI number, even for a normal SIM card. For a multi SIM card. When you switch from one line to another line, the IMSI is also changed. It is the same as changing a SIM card. What we can do is to define a description for each IMSI number, for example XXX Telcom 8888 for line one, YYY Telcom 9999 for line two. When we switch from line one to line two, write "YYY Telcom 9999" to the registry HKEY_LOCAL_MACHINE\System\State\Phone\Current Operator Name. Instead of showing the operator name, the Phone Suite should be able to show the information "YYY Telcom 9999", thus we know ti is the line two.
Logged
admin
Administrator
Hero Member
*****
Offline Offline

Posts: 1188


View Profile
« Reply #1 on: January 25, 2008, 11:04:16 pm »

Hi vbexpert,

I think this feature is not suitable to be involved in MagiCall. I am wondering if there are some existing software able to display current phone number in the today screen so that you are able to determine which SIM is currently using. If you cannot find one from the internet, please let me know, I can develop a free today plugin to do that thing.

Regards.
Logged
vbexpert
Jr. Member
**
Offline Offline

Posts: 86


View Profile
« Reply #2 on: January 26, 2008, 06:33:48 pm »

Thanks for your information.

In fact, I have done quite a lots of studies. All I can find are softwares which can display the telecom name, not the phone number. This doesn't work for me. As I have two numbers under the same telecom. I appreciate if you can develop such today plug-in. Thanks in advance. Wink
Logged
admin
Administrator
Hero Member
*****
Offline Offline

Posts: 1188


View Profile
« Reply #3 on: January 27, 2008, 12:41:24 am »

I've made it. Download and install the CAB file.
Sometimes the today plugin is not registered with the installation. In this case, you have to disable it and re-enable it.
Let me know if you have any question. Enjoy.

* MyPhoneNumber.CAB (9.96 KB - downloaded 180 times.)
Logged
vbexpert
Jr. Member
**
Offline Offline

Posts: 86


View Profile
« Reply #4 on: January 27, 2008, 02:23:58 am »

I've made it. Download and install the CAB file.
Sometimes the today plugin is not registered with the installation. In this case, you have to disable it and re-enable it.
Let me know if you have any question. Enjoy.
Wow.... Smiley You are so fast.
I've installed. It displays "Radio Off", though my phone is on.

I have two suggestions:
1. Instead of the default icon, put a radio icon.
2. I'm not sure if your program can detect the phone number as I only see "Radio Off" all the way. Have option to change the displaying text (if your program can detect the phone number and displaying it) for each number based on IMSI (International Mobile Subscriber Identity) will be ideal.
Logged
admin
Administrator
Hero Member
*****
Offline Offline

Posts: 1188


View Profile
« Reply #5 on: January 27, 2008, 03:44:06 am »

The program loads the main icon of cprog.exe. I just found that program does not have main icon on WM5 and above. I will use a standalone icon file instead in new version.

I tested it on my HTC Wizard and Treo750v, it works. But it looks like the phone number is retrieved from my Sim card. You may try to add phone numbers to your Multi-Sim cards to see if it works.
Logged
vbexpert
Jr. Member
**
Offline Offline

Posts: 86


View Profile
« Reply #6 on: January 27, 2008, 06:48:36 pm »

Using the IMSI is more straight forward. We can configure a display number based on different IMSI. It is also easier to read the IMSI from SIM. The phone number added to Multi-SIM doesn't work in this case. Because there is no mapping between the numbers I add and actual numbers.

From what I understand, you can read number information from Multi-SIM via programming. But this is more complicated compare to read IMSI.
Logged
admin
Administrator
Hero Member
*****
Offline Offline

Posts: 1188


View Profile
« Reply #7 on: January 28, 2008, 05:30:47 pm »

OK. I will do it when I have free time. But I will have not enough free time in the up coming two weeks.
Logged
vbexpert
Jr. Member
**
Offline Offline

Posts: 86


View Profile
« Reply #8 on: January 28, 2008, 06:09:43 pm »

Thanks. I'll be chasing you. Grin
Logged
vbexpert
Jr. Member
**
Offline Offline

Posts: 86


View Profile
« Reply #9 on: February 21, 2008, 01:44:08 am »

Is there any updates? Wink
Logged
admin
Administrator
Hero Member
*****
Offline Offline

Posts: 1188


View Profile
« Reply #10 on: February 21, 2008, 01:57:20 am »

I will update it within this week.  Smiley
Logged
vbexpert
Jr. Member
**
Offline Offline

Posts: 86


View Profile
« Reply #11 on: February 21, 2008, 02:51:04 am »

Thanks a lot.
Logged
admin
Administrator
Hero Member
*****
Offline Offline

Posts: 1188


View Profile
« Reply #12 on: February 22, 2008, 12:29:12 am »

Here it is. I updated the code to get IMSI. I am not sure if it can work well on your device so I did not add UI parts for configurations.
Just test it. You should see IMSI if it works.

* MyPhoneNumber.CAB (9.96 KB - downloaded 172 times.)
Logged
vbexpert
Jr. Member
**
Offline Offline

Posts: 86


View Profile
« Reply #13 on: February 22, 2008, 04:03:22 am »

Here it is. I updated the code to get IMSI. I am not sure if it can work well on your device so I did not add UI parts for configurations.
Just test it. You should see IMSI if it works.
Thanks, it's displaying the IMSI number. Smiley

Below are three wishes.

1. When I switch from one phone number to another, the IMSI won't get refreshed. So you may want to add auto refresh function.

2. Add UI for configuration. The UI can display a grid for list of defined numbers with display texts and logo. "Add", "Edit" and "Delete" buttons or menus should be there. When click "Add", pop-up a small window with the IMSI of current SIM, user also can change the IMSI manually. A text box for user to input text which displays at Today plug-in. A place to configure small telecom logo (can support gif or jpg files from the phone) to display at the left of the displaying text at Today plug-in. So that different number under different telcomm will have pre-definced displaying text and telecom logo. If user don't configure logo, a default logo should be displaying.

3. Save all settings in a file. So that no re-configuration is needed when re-install and cold reset the device.


* Screen01.png (158.86 KB, 480x640 - viewed 307 times.)

* Screen02.png (144.09 KB, 480x640 - viewed 291 times.)
« Last Edit: February 23, 2008, 12:20:46 am by vbexpert » Logged
admin
Administrator
Hero Member
*****
Offline Offline

Posts: 1188


View Profile
« Reply #14 on: February 24, 2008, 01:30:36 am »

Here is the new one.
I did not add interface to edit IMSI -> Display mapping. You should manually create a configuration file named "MyOwnerName.txt" and copy it to your device's "\Windows" folder.
To add IMSI->Display entries, add lines to the text file. Every line represents one entry in this format <IMSI number> + ':' + <specified string>.

Example:
41332234543:My Carrier Number 1
35234454523:Second Operator Name

Every line should end with "\r\n". The text file should be saved in ANSI. Windows Notepad.exe works fine for these requirements.

To refresh today plugin, turn off and then turn on the radio should be working. Or just tap it to refresh it.

* MyPhoneNumber.CAB (13.96 KB - downloaded 170 times.)
Logged
Pages: 1 2 »   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006, Simple Machines LLC Valid XHTML 1.0! Valid CSS!