|Oracle® Java ME Embedded Application Management System API Guide
This chapter discusses the Locale Change Notifier in the AMS. The
LocateChangeNotifier, which is obtained from the
AmsFactory class, is an interface for managing locale change notification subscriptions. It consists of two methods, which allow the programmer to add or remove listeners from the AMS:
void addLocaleChangeListener(LocaleChangeListener listener)
void removeLocaleChangeListener(LocaleChangeListener listener)
LocaleChangeListener interface is used to receive locale change notifications. It consists of only one method,
void localeChanged(). This method is called to notify about a locale change. The new locale can be retrieved by querying the "
microedition.locale" system property.