473,574 Members | 3,213 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to get Mobile Country Code in Windows Mobile using Win32..

16 New Member
Hi all,

I have done with Symbian and Blackberry for retrieving Mobile Country Code(MCC)

from my mobile using my app..

Now i want to know how to get the MCC for Windows Mobile using Win32 C++..

Waiting for Reply ASAP...
Jul 14 '08 #1
7 6371
RedSon
5,000 Recognized Expert Expert
Did you search on google or MSDN?
Jul 14 '08 #2
LTCCTL
49 New Member
Hi,

Is there any way to get the city code in BlackBerry and Windows enabled Smartphones/PDAs.

waiting for your reply.

Regards
LTCCTL
Jul 15 '08 #3
JayaseelanVaiyapuri
16 New Member
Did you search on google or MSDN?
Hi,

I have searched in MSDN, But i couldn't find the solution for this..

Can you please help regarding this..
Jul 15 '08 #4
afriza
2 New Member
How do you get them in Symbian and BlackBerry?

what I did in my WinCE .NET 4.2 app is to open serial port to the modem, and then query the modem using AT command. there are some AT commands available to get MCC. AT+COPS is one of them.

but maybe some newer OS have API for it.
Sep 22 '08 #5
Plater
7,872 Recognized Expert Expert
It the mobile country code ( i assume that means where the phone number is registered as 'being a part of' ) going to be the same as the country set in windows? I suppose probably not?
Sep 29 '08 #6
afriza
2 New Member
For Windows Mobile, you can see ExTapi example under CellCore inside sample folder for Windows Mobile 6 SDK.

It will show you how to get IMSI. you can extract the MNC MCC from the first 5 or 6 digits of the IMSI.

there are two kinds of Country Code we can get here..
1) from the IMSI, meaning that it will be tied to the sim card, and thus, the operator where you subscribe your phone services regardless whether you are roaming or not.
2) from the current network. you get the country code for the current network you are logged in. for WM, this can be obtained from RIL API.

this is different from your Country/TimeZone set in the Windows Mobile Settings.
Jan 13 '10 #7
SandeepJagdeva
23 New Member
@afriza
Good Info
THANKS......... ....
Jun 8 '10 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

1
2363
by: John | last post by:
Hi We have an access db which records daily orders. We would like the orders to be downloaded to a windows mobile 2003 device via usb cradle. Drivers then take along the device and get signatures from customers when items delivered. Once drivers are back, the information to be synched back to the access db as drivers may have amended the...
0
2200
by: Nick White [MSFT] | last post by:
Hello fellow Microsoft Windows Mobile and Embedded enthusiasts: I invite you to peruse the list below of upcoming technical chats and Webcasts offered by the Windows Mobile and Embedded Devices Group. For the full list of upcoming Windows Mobile and Embedded chats, to review archived chat sessions, or to request a reminder for a chat,...
3
2843
by: Robert W. | last post by:
I'm embarking on a project that will have both a desktop application and a Pocket PC application. It seems logical to have as much code as possible sitting in a shared project, which would be referenced and utilized by both the Windows Forms application and the Mobile Device application. Are there any "gotchas" (ie. warnings) that anyone...
7
4386
by: Jarod_24 | last post by:
I just downloaded a activex control that was written in C# and tried to view it on my PDA's Internet Explorer. At my regular PC it displayed just fine, but nothing showed up on the pda. Do ActiveX controls that are to be used by a pda need to be written in the ..net compact framework, or am i missing something else here? i have a HP iPaq...
3
4190
by: Hugh Janus | last post by:
Hi group, Using an iPaq running Windows Mobile 2003. I have a need where I will want to display a map and then using a bluetooth (or another form of connectivity) GPS unit, receive the data and then store it on a db on the device to later display points on my displayed map. I have as yet to buy any hardware so this question is really one...
3
4932
by: neeraj pandey | last post by:
I wrote an application for Windows mobile 5.0 pocket pc . I want to port it on WIN 32 . I build it win32 it throwing the errors: WINVER not defined. Defaulting to 0x0502 (Windows Server 2003) C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\winuser.h(9324) : fatal error C1017: invalid integer constant expression. Project...
0
3424
by: =?Utf-8?B?Q2hhcmxlcw==?= | last post by:
Like many people, I normally use Yahoo! Mail via the web and like to keep all my emails stored on the Yahoo! server. However sometimes I can’t get access to a PC/the web and I download my emails to a PDA/palmtop via POP3. The PDA uses Windows Mobile software. Since using the PDA, I have had the problem of emails disappearing from the...
2
1665
by: igasempa | last post by:
I develop software and selling it to Telcos so they provide it as a service to their mobile(cellphone) customers. I also sell to individual computer and mobile phone owners. I am looking for a partner to inject capital so we expand our platform reach and increase our marketing effort. Capital needed is about USD 2= million.
9
3708
by: =?Utf-8?B?RGFuaWVs?= | last post by:
Hi, I downloaded the sample application that the Microsoft video ASPNETAJAXForWinMobile described but it doesn't work on my Windows Mobile 6 emulator. After enabling the script error reporting of the mobile IE, it pops up several JScript error and the ajax behavior is not funtional at all. Where can I look for any possible issue? Thanks.
0
8111
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8274
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8140
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6514
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5660
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5336
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3776
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3795
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1375
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.