Name discovery

A MIDlet application can use the method getFriendlyName(boolean alwaysAsk) of class RemoteDevice to perform name discovery. The getFriendlyName method may contact the device if the name is not known or if the parameter alwaysAsk is set to a value of “true”. The associated delay may be nonzero, and could be cumulatively noticeable when performed for a large number of devices that are in range. It may also be worth noting that it is possible for different phones to have identical friendly names (for example, “Nokia 6600,” “My phone,” “Jim’s phone,” etc.). Since many people enjoy uniquely personalizing their devices, one can assume that many phones will have unique friendly names.