gps

iPhone 3G: How to show locations around a fixed point?

Hi, I have my current location fixed via CoreLocation. Now I want to get those locations (from an existing database), which are in the near (about 100 feet) of it. How do I start? Update: Here is a implementation of the Haversine formula: http://www.jaimerios.com/?p=39 (very useful) ...

How do I find out if the GPS of an Android device is enabled

On an Android Cupake (1.5) enabled device, how do I check and activate the GPS? ...

Ia there a way to get or calculate true north in cocoa touch?

Hello I am would like to determine a direction moving x degrees clockwise starting on true north. Is there a way for me get or calculate true north based on a set of lat & long coordinates? I am interested in implementing this cocoa touch. I am sure this is used in many of the applications already out there. Any comments, pointers, adv...

Storing and Querying GPS Coordinates Effectively

I want to create a large database of GPS coordinates that can be queried by saying "Return all coordinates that are within 'n' metres of [this coordinate]". I need it to be as efficient as possible so looping through all the coordinates in the database and calculating whether a coordinate is within 'n' metres wouldn't be a desired solut...

Calculating coordinates given a bearing and a distance

I am having problems implementing the function described here here. This is my Java implementation: private static double[] pointRadialDistance(double lat1, double lon1, double radianBearing, double radialDistance) { double lat = Math.asin(Math.sin(lat1)*Math.cos(radialDistance)+Math.cos(lat1) *Math.sin(radialDistance)*Math.co...

Wifi Sniffer App Guidance

I am writing a WiFi connectivity/sniffer in .Net to be used as a self deploying tool from a USB stick. The intention is that it will scan for unsecured available networks and then try to connect to each one in turn and detmerine whether there is a login / proxy or whether directo connection to my arbitary website is possible. This is to ...

GPS on emulator doesn't get the geo fix - Android

Hi I'm developing an application for the android OS, I'm just starting, but I can't get the GPS on the emulator to work. I've read on the internet that you need to send a geo fix to the emulator in order to enable the gps locationProvider. I'm both using the DDMS and telnet to try to send it, but logcat never tells me the it recived a ne...

addProximityAlert doesn't work (neither does requestLocationUpdates) - Android

Hi I'm trying to get and update when the phone gets near a location. I've both tried using addProximityAlert and requestLocationUpdates LocationManager lm =(LocationManager) getSystemService(Context.LOCATION_SERVICE); Location l = lm.getLastKnownLocation("gps"); Intent intent = new Intent("eu.mauriziopz.gps.ProximityAlert")...

Finding the closest point to a given point

Hello- I have searched all over for this, but I can't seem to find the best approach to this. I have about 22000 lat/lon points and I want to find the closest one's to the current location of the iPhone. I've seen people ask about Quad Trees, Dijkstra's Algorithm, and spatial databases. Which is the best for the iPhone? Spatial databases...

How to lookup a zipcode from a GPS coordinate?

Say I have a web service API that accepts a zipcode as a parameter, but I only have access to a GPS coordinate (latitude, longitude). How can I dynamically lookup the zipcode that the coordinate belongs to? I'm doing this work on the iPhone, so hopefully there's a simple way to do this within the CoreLocation APIs that I'm overlooking i...

Blackberry - change latitude and longitude on the device to test app

Hi I want to test my app on the device. Is it possible to hard code the latitude and longitude values somewhere in the device settings so the app reads those instead of the current location? I want to test my app for different locations other than my current location. Thanks. ...

How to get NMEA from the GPS Device ?

Hi there.im trying to read the current position of GPS Device...using N95 from Nokia. I read tht i will need my device to return the NMEA lines to the serialport and then i will parse/split it to get things I want but all along I dont know what to write to the serialport to make device return the NMEA ? Like There are other commands of ...

Android - using LocationManager does not give a geo fix

Hi I am trying to get the GPS location of my G1 using the following code In Activity MyLocationListener myListener = new MyLocationListener(); LocationManager myManager = (LocationManager)getSystemService(LOCATION_SERVICE); myManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 2000, 0, myListener); This is the LocationListe...

Which gps library would you recommend for python?

I'm looking for a free library for python that can calculate your direction and your speed from GPS coordinates and maybe can calculate if you are in some boundaries or things like this. Are there Libraries that you know and that worked well for you? Edit: Ok it seems I have to specify this a little bit. We are using python on a linux...

Cheap programmable GPS devices

I'd like to start a side project that involves programming with GPS devices. All that I need is a GPS device that can record its location every X seconds or minutes, save those locations locally, and then send the list to a central server. I know that iPhones have GPS support, but I don't want to spend $300+ on an iPhone and another $1...

How to programmatically enable GPS in Android Cupcake

I'm currently writing an app in Android that works with the GPS, at the moment I'm able to work out whether the GPS is enabled, my problem is that I want to enable the GPS on app startup if it is disabled, how can I do this programmaticaly? ...

Can iphone send gps coordinates to a website painlessly?

Is there an easy way to design a website to facilitate an iphone user providing gps coordinates to the site? I am wondering if there might be a naming convention for form fields for example, to let the user input in an automated way. I am considering building a location based website and would like to tailor it for iphone (and other m...

C#: GPS Tracking system

How do I go about building a GPS tracking system with mobile (with GPS) in C#.net ? The scenario is Track a user (service engineer, nothing illegal here) via a GPS enabled mobile Phone. What software and hardware will I require? Is there any open source implementation? For a vehicle tracking system, how do I go about with GPS? I would...

How to convert TM-2 degree coordinate to lat lon on Android?

I am writing a program that convert TM-2 degree to lat/lon on Android, but I can't find formula for that. I do find some example on internet, but most of them are convert with open source library, that I can't use on Android platform. I also find a java class that do convert from UTM to lat lon, but it seems no suitable for TM 2 degreen ...

Best SFF PC GPS Programmer friendly device?

I'm working on a project where we will build custom SFF PCs, which will have our software on them and deploy around the world. We would really like to have the ability for the PCs to be location aware, and we want to retrieve the current location of the PC and report it back to a central server. It would be best if it were internal (we...