473,657 Members | 2,385 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 6374
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
2366
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 order detail. How does one go about synching to/from mobile device? Are there any code examples...
0
2210
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, visit http://msdn.microsoft.com/embedded/community/community/chats/. Also, the Windows Mobile and...
3
2847
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 knows about in following this approach? Robert W. Vancouver, BC
7
4392
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 2490 with Windows Mobile Premium installed While i'm at it; does a activex control allow you to...
3
4192
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 to see if it is possible. So, is it possible to use VB2003 or VB2005 to interface with a GPS...
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 : warning PRJ0018 : The following environment variables were not found: $(_ARCHFAM_) $(ARCHFAM)
0
3429
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 Yahoo! server. However I think I now understand how to avoid this. It seems that Windows Mobile is...
2
1673
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
3711
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
8420
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8740
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8516
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8617
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7353
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6176
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5642
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4173
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2743
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.