gps

Android: Location.distanceBetween units and emulator not sending coordinates properly

Hy everyone, I have two questions 1) I have not been able to find out in which units Location.distanceBetween receivs the latitude and longitude. Is it degrees or microdegrees? Whats the unit for the distance returned? Sorry for this noob questions but I have not been able to find anything on the documentation. 2) In windows XP using E...

Android emulator: disconnect GPS device from provider

I am developing a GPS enabled application on Android. There is no problem with the map display, but I want to test how my code would react to the situation in which the user enters a room, basement or a cave, so that the device would stop receiving any signal. My question is whether I can simulate this programatically or by using the DDM...

How to best use GPS data?

Hello, I am currently developing an application that receives GPS data gathered using and android phone. I need to analyze that data in terms of speed, acceleration, etc... My question is: Can I trust the speed values returned by the phone? Or should I use the difference in position and time between two points to get the values I want?...

Calculate GPS coordinates to form a radius of given size.

I've come up with a method that takes a coordinate and a range (in miles) and return a list of coordinates that form a circle around the origin. I seem to have made some progress with it, but I have an issue with getting the range part down. private const Double LAT_MILE = 0.0144839; private const Double LONG_MILE = 0.0190693; public ...

Finding places of interest, based on approx geo location.

Hi folks, I was wondering if it is possible to get the places of interest in a location based on the lattitude/longitude information or approximate street address gathered from a GPS system? places of interest are defined in this context as: Restaurants, Resorts, Parks, malls, movie theaters, etc. Are there some online services either...

Passing GPS LonLat from Android GPS to WebPage (javascript)

I have the following code but the lon/lat seems to be returning null; package com.domain.www; import android.app.Activity; import android.content.Context; import android.content.pm.ActivityInfo; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.location.C...

How do I programmatically find direction on a blackberry?

How do I programmatically find direction on a blackberry using GPS? ...

Using Python, how do I read and extract data from a binary data file with multiple variable-length records?

Using Python (3.1 or 2.6), I'm trying to read data from binary data files produced by a GPS receiver. Data for each hour is stored in a separate file, each of which is about 18 MiB. The data files have multiple variable-length records, but for now I need to extract data from just one of the records. I've got as far as being able to deco...

Compass metadata tag in photos

We have a GPS enable camera that also stores the compass direction or bearing in the metadata in the photo. The GPS X and Y and other GPS information is stored in the GPSInfo tag in the EXIF data, however compass direction is not there. Does anyone know where I can find about where this tag is stored in the file? I have looked up the ...

LocationManager in 2.1 not working?

Hello, I have been trying to get the following code to work for the last 4 hours. public void clearLocation() { LocationManager locMan = (LocationManager)getSystemService(Context.LOCATION_SERVICE); locMan.clearTestProviderLocation("gps"); My problem is that it will only work with Android 1.5. On 1.6 and newer it...

GPS navigation application for windows mobile

Hello all. I'm trying to build an application for a smart phone (windows mobile). I need to sample 2 GPS points and use a gps navigation app to get driving instructions between those 2 points. i need it to work on Tel Aviv map. does someone knows something i can use? thanks. ...

When writing iphone applications with actionscript, is it possible to read from devices such as the gps?

As announced, it is now possible to develop Iphone applications with Actionscript. My question is: is it possible to control iphone devices such as the GPS receiver and/or camera using actionscript? Is there somekind of "AS3 for the Iphone"-framework? I know my question is short, but this is all I need to know for now. ...

Recreate "gps" LocationProvider after removal?

Hi. I'm currently having some problem with my application. I accidentally ran the following code: locationManager.removeTestProvider("gps"); And now i obviously can't get a GPS fix in google maps.. have to reboot. But my app need to remove the original GPS provider to create it's own fake one. So im just wondering if it's possible t...

Android bluetooth RFCOMM questions

I am trying to get an android phone to look like a bluetooth GPS unit so that a PC or any other device that supports bluetooth GPS can use it. I figured out the whole NMEA thing and have the device spitting out correct NMEA sentences. My problem lies in the bluetooth area though. I have a bluetooth thread setup for listening for a conne...

ANDROID: how does addProximityAlert() work exactly?

I'm looking for information about how "addProximityAlert()" exactly works At what intervals does it check? What happens if we use more than one addProximmityAlert(, do they work independently(do they check individually)? ...

Geo Spacial Bounding Box Rectangle Calculation Error: Latitude Incorrect

Hi All, Can any trig or GPS experts help me out here? I'm trying to create a geo-spacial bounding box (rectangle) calculation returning the maximum latitude and longitude using the following method that I've retrieved. I am calling the method once for each of the for bearings: north, south, east and west. With these four values I intend...

interrupt in gps searching

I have developed a gps searching application in java. But it has a problem when a call comes in. I want that when any other process started, gps searching is still continued. It shoud not stop. How i can do this? ...

How can i determine if iphones CoreLocation is using satellites or cell tower triangulation to find the current location?

I'm using CoreLocation to find a users current location and display it on a map. I want to show an icon with an antenna when the location is established using satellites and a icon with towers when it uses tower cell triangulation. In my test app i set the desired accuracy to be kCLLocationAccuracyNearestTenMeters if using tower cell tri...

I can't send gps values via the eclipse emulator control panel

I try to send gps longitude and latitude to the android emulator with eclipse, but the values seem to never be set. Instead the onStatusChanged method of my listener is called. Edit I send those values through the emulator controls in the ddms view in eclipse. If I send data via telnet I get the correct data shown and the onLocationChan...

trying to get the most accurate device location from GPS or Network in Android

I am trying to determine the most accurate location of a device, in the shortest time possible. I am storing the data as a geopoint, and have it displayed on a mapview. The last time I activated the GPS on my device and let it get a location lock, i was approx 80 miles from where I am now. I have a location manager setup and a locatio...