Questions tagged [mobile-country-code]

ISO-3166 standard defining 2 and 3 character identifiers for each country in the world.

ISO-3166 standard defining 2 and 3 character identifiers for each country in the world.

69 questions
0
votes
0 answers

Locale.getISOCountries() is returning different list in android devices (tested on samsung galaxy S10) JAVA

I'm currently using Locale.getISOCountries() to get ISO-compliant country code list. In android device when I print the output it was returning a different list, for example, it has some extra country codes "ZWG"(Zawgyi), "SIL" (Silesian) but when I…
0
votes
2 answers

Cannot read country code selected in a spinner Android

I am working on an app in which users have to select a country code, i was successful in creating a spinner for the said purpose as shown in this link: Creating a spinner for choosing country code But i am getting problem in reading the value…
0
votes
1 answer

Android get MCC + MNC String for neighbouring cells

The mobile country code consists of three decimal digits and the mobile network code consists of two or three decimal digits (for example: MNC of 001 is not the same as MNC of 01) https://en.wikipedia.org/wiki/Mobile_country_code so to get MCC +…
Georg Heiler
  • 16,916
  • 36
  • 162
  • 292
0
votes
1 answer

In what format Cursor of ContentResolver retruns contacts saved on the device?

I am fetching the contacts saved on the device using following code String sortOrder = ContactsContract.Contacts.DISPLAY_NAME + " COLLATE LOCALIZED ASC"; Cursor cur = mParentActivity.getContentResolver(). …
0
votes
1 answer

How to detect visitors Country when Cloudflare enabled?

I have enabled cloudflare in my website. Now I want to get the visitors country. I am using this code $_SERVER["HTTP_CF_IPCOUNTRY"] to get current user country. It is returning the correct country in Desktop devices. But it is not returning the…
WP Learner
  • 788
  • 1
  • 13
  • 34
0
votes
1 answer

How to handle country code and trunk prefix for sending text messages for input field on website

We're working on improving our SMS input field on the website for text notifications for freight tracking. After some research, still in some doubt as to the best way to guide customers to input the correct detail {country code}+{carrier prefix…
0
votes
1 answer

Where does SmsMessage getOriginatingAddress country code comes from

I am currently working on SmsReceiver service, which checks address of SMS sender and if the number matches one in my database, I can process the message. But the thing is, phone numbers given by getOriginatingAddress() method are always with…
John Hard
  • 31
  • 2
  • 5
0
votes
1 answer

Android ISO country code and flag assets

I'm looking for assets that map ISO country codes to flag images in different resolutions, something like this but for Android. It seems as if the project in this answer provides the necessary assets, but unfortunately the link to the project is…
Digital Da
  • 891
  • 1
  • 10
  • 23
0
votes
1 answer

Integrate a country code picker in xamarin

I have to integrate a country code spinner for mobile registration in Xamarin. I have inserted all country names successfully in spinner but I also want to add flags and codes with country names. Please provide me the best way to add country name…
0
votes
0 answers

Where to get an easily parseable list of country names and their calling codes

Where can I find an easily parseable list of the names of all countries and their calling codes (i.e. their mobile country codes). For example United States of America,1 United Kingdom,44 Sultanate of Oman,968 etc.
Shy
  • 542
  • 8
  • 20
0
votes
1 answer

How to get country code or country prefix from a mobile number which doesn't contain country code

I am working on an app which gets a phone number with or without country code to call or to send sms. Now all I want to know, is there any functionality / pattern with which I can detect the country code of a number which doesn't contain the country…
0
votes
1 answer

How to access or get ISO3 Country code based on country entered by user in Android

I need to access the ISO3 Country code based on the country entered by the user for my android application. Is there any possible way to access it directly rather than storing it in an array.
Ninja
  • 17
  • 1
  • 7
0
votes
1 answer

Difference between representation of MNCs?

I was looking mcc-mnc list. during that I found different kind of representation of MNCs such as 01, 001 like. I was searching whether they are same or not, and found in Wikipedia that MNC of 001 is not the same as MNC of 01. I understand this is a…
Sanjay
  • 1,078
  • 11
  • 15
0
votes
1 answer

Read user country on Windows Phone 8.1

How I can read the user country code on windows phone. I need to know his country not the language of the phone. For example if the user is from Austria or from Germany the language of the phone usually is German, but I need a way to rad this…
0
votes
1 answer

How to fix caller id format in iOS 8.1.2 iPhone 6+

I recently passed from iPhone 4 to iPhone 6+ and found unpleasant issue of caller id that I have fixed long time ago on my previous jailbroken iPhone 4 and wondering if something similar exists for iOS 8.x? In iPhone 4 iOS 5.1 I have modified file…
viganous
  • 11
  • 1
  • 2