Abstract:
A method of automatically providing the country code and area of a phone number by selecting the city applying to programmed screen phones, mobile phones, personal digital assistants and communication devices with the dialing function. The disclosed method includes the steps of: establishing a database with the country code and area code of cities of all countries; sorting and numbering the cities to generate a look-up table; entering the city of the phone number to dial and comparing the selected city and the look-up table to generate the corresponding country code and area code of the city; and entering the country code, the area code and the phone number.