Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 06-13-2009, 04:21 PM   #9 (permalink)
SamRhoads
Registered Member
 
Join Date: Jun 2009
Posts: 10
Default Distance between two points.

Quote:
Originally Posted by nbajjuri View Post
I am using CLLocation to get the current location. And we can also save the previous location information.

How can we calculate the distance between these 2 locations?
A few years ago when I got my first GPS unit, I wrote a program in Java that does just that. I won't bother to include that code, but if you are not successful in solving the problem, let me know - off line -- and I'll be happy to send you the code. All it requires is the latitude and longitude of the two locations.

Sam (sam@hcc.hawaii.edu)
SamRhoads is offline   Reply With Quote
 

» Advertisements
» Online Users: 740
16 members and 724 guests
aaronhartigan, Bertrand21, betterlee, chiataytuday, Domele, dragon2777, gascertificate, hrushikeshaddon, kampftrinker, Macaret, meribran, phackdat, superblooddrainer, wilsonn44, wodanbrlam
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,828
Threads: 89,207
Posts: 380,639
Top Poster: BrianSlick (7,129)
Welcome to our newest member, aaronhartigan
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:55 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.