Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User chirag.pandya's Avatar
    Join Date
    Mar 2010
    Posts
    2
    Hi...
    I m developing location based application for Symbian s60 platform.
    I have found the latitude and longitude for a particular location.
    But I don't know how to get location name from this latitude and longitude.
    Can anybody help me to resolve this problem as soon as possible?
    If possible then give me source code or any link for the same.
    Thank you.

    Hiii there...
    anybody can please give me some hint or Soruce code for the above problem?
    I am using this code...

    private void checkLocation()
    {
    String string;
    try {
    // Request the location, setting a one-minute timeout
    location = locationProvider.getLocation(100);
    } catch (LocationException e) {
    return;
    } catch (InterruptedException e) {
    return;
    }
    coordinates = location.getQualifiedCoordinates();
    if (coordinates != null) {
    // Use coordinate information
    double lat = coordinates.getLatitude();
    double lon = coordinates.getLongitude();
    string = "\nLatitude : " + lat + "\nLongitude : " + lon;

    // location.getAddressInfo();

    } else
    {
    string = "Calculating position, no fix yet.";
    }
    text.setText(string);
    }
    -------------------------------------
    " location.getAddressInfo(); "
    This code is not working.
    Last edited by chirag.pandya; 2010-03-18 at 04:53.

  2. #2
    Nokia Developer Moderator petrib's Avatar
    Join Date
    Mar 2003
    Posts
    9,415
    You need (access to) a database that has the information. Keywords to search for: "geocode", "geocoding","reverse geocoding", "gelocation", "reverse geolocation".

  3. #3
    Super Contributor mahbub_s60's Avatar
    Join Date
    Mar 2008
    Posts
    1,481
    See Reverse Geocoding (Address Lookup) section in this link http://code.google.com/apis/maps/doc...ion/geocoding/

  4. #4
    Registered User prssupe's Avatar
    Join Date
    Dec 2009
    Posts
    376
    The best solution for it can be to use location Api of BING maps or else create your own database for location.when you use Bing maps api you will be returned with xml document by parsing that document and retriving name of location from that document will solve your problem

Similar Threads

  1. JSR 179 -Getting Longitude Latitude Values of Current Location
    By satyarajasekhar in forum Geolocation and Navigation
    Replies: 11
    Last Post: 2011-11-16, 12:00
  2. how to get map of a location if I know its Latitude and Longitude?
    By rohanwaugh in forum Symbian Networking & Messaging (Closed)
    Replies: 6
    Last Post: 2011-06-28, 07:44
  3. Latitude and Longitude find problem in device
    By yatin_indianic in forum Mobile Java General
    Replies: 5
    Last Post: 2010-03-10, 17:06
  4. Displaying Latitude & Longitude: 2 problems
    By nstapleton in forum Symbian C++
    Replies: 10
    Last Post: 2009-05-26, 15:15
  5. How to get the addressInfo for a given latitude and longitude
    By m.manojkumar in forum Mobile Java General
    Replies: 2
    Last Post: 2009-04-18, 11:24

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved