From Java Runtime 1.0.0 for Series 40 onwards, the Series 40 platform supports the following extension to the Location API:
LocationUtil