Bada Question: Download Bada PDF

Suppose I have ISO 3166-1 country code information from a server. How do I convert it to a country name that is readable by a user ?

Tweet Share WhatsApp

Answer:

Construct a Locale object with the required country code and get the name of the country from the Locale object

For example:
Locale locale(LANGUAGE_ENG, COUNTRY_US);
Osp::Base::String countryName;
locale.GetCountryName(countryName);

Download Bada PDF Read All 44 Bada Questions
Previous QuestionNext Question
How to change the locale? Is there an API for it?Suppose I am unable to get any GPS data at my work location. What are the possible reasons?