Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User priteshgajjar's Avatar
    Join Date
    Aug 2008
    Posts
    44
    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 ltomuta's Avatar
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,335
    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.

  3. #3
    Registered User priteshgajjar's Avatar
    Join Date
    Aug 2008
    Posts
    44
    Thanks for your reply. Actually development platform i am using is Symbian.(S60 3rd).

  4. #4
    Registered User priteshgajjar's Avatar
    Join Date
    Aug 2008
    Posts
    44
    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 ltomuta's Avatar
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,335
    Look for Distance in TCoordinate

  6. #6
    Registered User priteshgajjar's Avatar
    Join Date
    Aug 2008
    Posts
    44
    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
  •  
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