gps

compass guide to gps destination

hello. here is the basic concept of the thing i want to do. i want to rotate a imageView with an arrow from the current user location to some previously saved GPS location. how do i do this? is the Initial Bearing got from the Location.distanceBetween... method the right way to go on this? if so how do i use it with the compass readin...

Angle between 2 GPS Coordinates

Hi everybody, I'm working in another iPhone App that uses AR, and I'm creating my own framework, but I'm having trouble trying to get the angle of a second coordinate relative to the current device position, anyone know a good resource that could help me with this? Thanks in advance! ...

problem in getting gps coordinates in android 2.1(Found Answer)

I am having a problem in getting GPS coordinates in 2.1. The code i am using right now is working well in 1.6 but when i test this same apk in 1.6 device is showing null values plz help me to find a way to work with 2.1 devices also Here is my code... public class GpsLocator { private static String PROVIDER="gps"; private Loca...

Question about getting current location in Android

I have few questions about getting current location of the device. I believe only way to do that is using requestLocationUpdates(....). if I subscribe to requestLocationUpdates... with duration set to 1 hour and after 1 hour if my phone is sleeping (or during that 1 hour I rebooted my phone), does the listener still work? A. If yes...

How can I store raw data with respect to time and sort it?

Hi to all, due to Internet communication i could have two (or more) ASCII files in RINEX format (GPS ASCII format) of the same data period, which i would like to merge to one file. Each data set (epoch) contain more then one line (in this example 19 lines). I would like to merge those files, where it could be that they in some parts ov...

Odd ASCII characters in NMEA 0813 data stream

Hello, i have been trying to read the NMEA data stream from my GPS receiver connected to a bluetooth module BlueNiceCom3 using various terminal programs (HTerm, MTTTY) but what i received was always like this: C O"i „ $GPGGA,0i „ 85649.99i „ 9,4900.1i „ 692,N,01i „ 205.7215i „ ,E,0,00,i „ 0.0,433.i „ 7,M,0.0,i „ M,,0000*i „ 67 $GPGi „ ...

Android: compass + distance in a listview.

Hello, I guess you have all tried "Google Places" in Maps. This is a list of POI close to you. I really would like to do the same feature in my application with a list of GPS coordinates, but that seem really complicated. Making the listview with the distance and the little arrow is very easy, but I cannot understand how to update thi...

Android Emulator substituting GPS position

Hello i have app which ask every 5second for GPS position but it allways returns same position. I have tried substitite position in DDMS or by telnet (geo fix ... ...) But allway it return initial postion. Whats wrong? public class App09_GPS_RepeatedAsking extends Activity { TextView tv1; /** Called when the activity is first created. *...

Function for line between 2 GPS coordinates

I'm trying to find a function lng = f(lat) that would help me draw a line between 2 given GPS coordinates, (lat1, lng1) and (lat2, lng2). I've tried the traditional Cartesian formula y=mx+b where m=(y2-y1)/(x2-x1), but GPS coordinates don't seem to behave that way. What would be a formula/algorithm that could help me achieve my goal. ...

Small GPS device that transmits location to track missing person

My teenage step-daughter is autistic, and tends to want to run away from school, leisure-club and sometimes even from home. This is very bad for her safety, and a great concern for us. I am looking for a way to track her, so we can find her again when she runs away. Here is my ideal (possibly unrealistic) scenario: Tiny GPS device w...

IPhone CLLocation course accuracy

Hi, I'm writting and small app to get the course from the gps. I've tested it outdoor with my car, and newLocation.course always gives even numbers, 0, 2, 4, ... 180, 182, ... 356, 358. I've set distancefilter to none and accuracy to best. ¿Is this a known issue of corelocation?. Am I doing something wrong? Here's is the code (void)l...

Advice on app using gps-sensor, compass-sensor and webservices via SOAP messages.

Hey folks, I really like your site and I think this is the place where I find answers to my questions! I am planning an app, which shall do a couple of things but since I'm kind of lost in all the information conserning Android I really need some advice what I have to look out for and which of my goals might turn out tricky. I want to do...

iphone Location Services code that works on OS 4.1 in appstore

Hey there, There's a bug in OS 4.1 that has broken location services for some iPhone apps ( https://devforums.apple.com/message/306250 ). Basically location services fails to turn on, and doesn't even ask the user for permission to get their location. The worst thing about the bug is that it doesn't occur when you're installing the app ...

What scale is initial bearing in returned from Location.distanceBetween()

When calling Location.distanceBetween() and getting the initial and final bearing, what scale is the bearing in? I'm getting negative values, which doesn't make sense to me. Bearing goes from 0 to 360 degrees (relative or absolute, it doesn't matter). The only thing I could think of is N through E through S is 0 through 180 degrees, a...

Get rid of cached data in didUpdateToLocation

I'm trying to get the actual position on the iPhone Simulator. But I always get the cached result. My question is related to this and this question. I'm using the code from the LocateMe example: - (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)ol...

Why is CLLocationManager so lazy when set with a low accuracy?

I've discovered by tests that setting a low desired accuracy for CLLocationManager leads to a buggy behavior of this component. Here are the 2 tests I've made : Set the desired accuracy to kCLLocationAccuracyHundredMeters. Then the device can't find my position as accurately as I want. Here are the logs from my CLLocationManager's del...

How to do Post process GPS? Help.

Hi, I'm new to GPS world. I need to know how to achieve Post processing DGPS. I read the basics in the net. while searching for the providers, i found that in noaa web site, the CORS data Rinex files are available to public for free to download. Now, I didnt get what should i do to use this downloaded data to post process my gps data. ...

Android Proximity alert doesn't get fired

Hi, this is my very first question: I'm trying to configure proximity alerts that will be feed from a Database and webservice provider; but I have a problem configuring a simple proximity alert for testing. I manage to create the alert but it never gets fired, I'm only trying in the emulator for now and don´t know if I need some extra c...

how to convert GPX to Rinex format for post processing? Help..

Hi, I'm fining out the ways to achieve Post processing dgps. I use android phone as the gps receiver. Now, I've generated the GPX or KML files using an android app gps logger. I need to convert this into Rinex format in order to do post processing. I cudnt find any converter tool for this while searching the net. Is there any other w...

GPS Software for PC

hi ! I will start on a private project that will require some GPS software on my computer, so far I have been contacting Garmin and Destinator to ask if they have some sort of SDK kit for theire map services. however they could not offer me this in Norway. I am therefore asking here if anyone here know any kind of map software, capable...