Guest mobiledano Posted March 28, 2008 Report Posted March 28, 2008 I need to prgrammatically retrieve the operator and APN from a WM 6 phone. using C# - Operator data - I am trying to use the method GetServiceProvider() which is in the sample code from MS PhonesAPI.msi - GetServiceProveder() does some setuup then calls SimGetRecordInfo( hSim, SERVICE)PROVIDER, rec) Note: SERVICE_PROVIDER is assigned the address 0x00006F46 Calling the method GetServiceProvider() works fine on the emulator. However, when deployed to a T-Mobile Shadow I get a SIM_E_INVALIDINDEX error thrown by the call SimGetRecordInfo(). Question 1 - Does anyone have a partial or complete list of the "addresses" that can be used (i.e. I have no idea where the address 0f 6F46 came from - it was in the sample code from MS). I cannot find the "addresses" in the SDK or anywhere else. Question 2 - Does anyone know how to retrieve the "Operator" without using a cal to SimGetRecordInfo (i.e. what reg key would that info. be in?). Question 3 - Anyone know what key or method I could call to retrieve the APN "Access Point Name" from a WM 6 phone? Many thanks for your help in advance -
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now