• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Get phone country/area code, anyone?

gumatias

Lurker
Dec 4, 2009
9
0
Hi,

I know that I can get some informations from the Sim card by using the TelephonyManager class, but I couldn't find any specific method to get its country and area code, and also if the user is on roaming the area code would probably change to the location he currently is.

Any help would be appreciated.
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones