Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

arunarora

macrumors newbie
Original poster
May 26, 2009
8
0
Hi,

I need to integrate compass in my application to show the direction in which user is moving. I need to use GPS maps to point the current location and compass to show directions.

Are APIs available for these functionalities?
Compass and GPS

I really appreciate any help, suggestions.

Thanks,
Arun
 
Hi,
Thanks a lot for replying.
Yes I saw the APIs and I guess CLHeading obj is used for getting directions and CLLocation for getting MAP location.
I am very new to iPhone programming so having a bit difficulty in understanding.

Nyways, Can you also help me out with the GUI part as well. Can I get the Compass in my app to show the direction and some sort of Map on which I can show the current location of the user?

Thanks a lot!
Arun
 
I can write the UI for the app, however can anyone suggest me what is the speed of GPS in iPhone i.e. how fast the phone can start getting the GPS feeds. Also, how accurate the GPS feeds are?

Thanks a lot!
Arun
 
You should probably read a couple of guides and look at some sample code.

It updates pretty regularly.
 
A related question

Excuse my ignorance of posting etiquette: Does any one have a sense of the frequency responsiveness of electronic compass, from what I gather there is a 'Hall Element' I assume that the circuit would have a very low frequency (~single Hz) low-pass filter around the hall element. Is this true? How might you test the frequency responsiveness of the compass?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.