First, please read this sticky thread on how to paste formatted code
public void locationUpdated(LocationProvider provider, Location location)
if(location!=null && location.isValid())
QualifiedCoordinates coordinates = location.getQualifiedCoordinates();
AddressInfo adInfo = location.getAddressInfo();
Second, from my read of the java doc page for javax.microedition.location.AddressInfo, it is only a container. The values have to be set by some other facility.
This class is only a container for the information. The getField method returns the value set for the defined field using the setField method. When the platform implementation returns AddressInfo objects, it MUST ensure that it only returns objects where the parameters have values set as described for their semantics in this class.
And javax.microedition.location.Location.getAddressInf o() has the following note in the documentation:
This method returns null because the RIM implementation does not support textual address.