×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Aug 2008
    Posts
    44

    [moved] LBS API's

    Hello Developers,

    I am new to s60 programming like everyone . I am writing GPS application.
    To start with, I have use LBS API's to get Logitude-Latitude .

    Now I want to have some operation on these values. Means if i have 5 different co-ordinates(Longitude-Latitude) , then I need to find out which is closest one wrt one co-ordinate.

    So my question is does LBS has any API for this ?(For comparing two locations)
    OR i need to do it mathematically which is cumbersome..

    Any ideas

    Thanks In Advance

  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: LBS API's

    Are you developing applications using Java, Symbian C++ or any other runtime? The answer to your questions is likely to be yes, there are methods that can help you with the computations but the specifics will be obviously runtime specific.

    You can post your question on a runtime specific forum or in the Location Based Services forum on this board.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  3. #3
    Registered User
    Join Date
    Aug 2008
    Posts
    44

    Re: LBS API's

    Thanks for your reply. Actually development platform i am using is Symbian.(S60 3rd).

  4. #4
    Registered User
    Join Date
    Aug 2008
    Posts
    44

    Cool Re: LBS API's

    Currently I am implementing Haversine Formula for finding spherical distance .
    So Does symbian directly provides method for calculating the same?

    Thanks in advance.

  5. #5
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: LBS API's

    Look for Distance in TCoordinate
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  6. #6
    Registered User
    Join Date
    Aug 2008
    Posts
    44

    Re: [moved] LBS API's

    Thank a lot Lucian .

    TCoordinate class has method Distance() . Which does same thing that I was trying mathematically.

    Thanks once again for immediate Reply...

Similar Threads

  1. Is it possible to send/receive encrypted messages using S60 SDK JAVA APIs?
    By vpatki in forum Mobile Java Networking & Messaging & Security
    Replies: 11
    Last Post: 2008-12-02, 04:13
  2. [Moved] Symbian APIs
    By jas76 in forum General Development Questions
    Replies: 7
    Last Post: 2008-09-15, 18:08
  3. Realtime Fishing LBS Content's becoming a Hot Issue.
    By viva99kim in forum News, Announcements and Job Listings
    Replies: 1
    Last Post: 2008-02-29, 23:49
  4. Replies: 2
    Last Post: 2007-10-30, 09:08

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •