gps

Where is a good place to grab GPS data?

I in my android application I want to track GPS information and use this information in all activity. Is it a good way to use onLocationChanged, in the Application class? I also want to have a timer that will measure the elapsed time, and use in all applications not only in one Activity The information onLocationChanged and timer and ...

Presenting a walkway from position A to B in my app

So I have an iPhone app which should aid the user to find a convenient walkway from his/her own position to a given destination. As I have learnt, MKMapView does not provide an easy way to infer a preferred walking route from A to B. I can live with terminating my own app and launch the native map application on the iPhone, but in that ...

Convert GPS coordinates to coordinate plane

This is somewhat related to another question I asked: Translate GPS coordinates to location on PDF Map. That got me to this point, now I'm stuck on the math. Let's say I have a floor plan of a building, I've taken gps coordinate readings from each corner of the building. Also assume that the floor plan is lined up with the latitude an...

Where to save Android GPS (Latitude , Longitude) points?

Hi, On onLocationChanged event I want to save my GPS route (Latitude , Longitude). Later I want to load this data and draw the route. Who is the best way to do this, by using some array type (and save or load by using database) or XML files or something else? Thanks. ...

How to release GPS service when activity is done?

I launch an activity from another activity with a startActivityForResult. This activity gets a LOCATION_SERVICE. All works very well up to the point where I upload the app to my hardware. It works ok there, as well until I shut the app down. The LOCATION_SERVICE appears to continue running and even continues to give me Toast updates unti...

Simple code I can add to onStop, to stop GPS activity?

Just like the title says, Is there a simple line of code I could add to onStop()that will simply stop any gps activity currently going on with my application? ...

correct way of getting latitude and longtitude in android

Hi, I need the correct way of getting latitude and longitude in android programatically. I viewed different sites and forums but still i could'nt get the correct one. The program should support for all the android versions.I use wifi to get my device connected to net. ...

Replace default GPS signal provider on Android devices

I would like to replace the default GPS location provider on android phones with my own coordinate source. Is there any layer/API/library/provider that would allow to be replaced with my signal provider instead of the built-in hardware GPS, or read from an external plugin? It should allow all apps that rely on the GPS service to receiv...

How to Write a background service to get latitude and longitude

Hi , I need to write a background service to get latitude and longitude values. I have an android application in which it has to find where the user is currently.So i seemed of getting the values of latitude and longitude values. Is there any way programatically to get the values from the system services or even program giving the valu...

Problem in getting latitude and longitude

Here is the program i used to code it in my android application to find the GPS location of the device. enter code here package com.gps.TestingApps; import android.app.Activity; import android.content.Context; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import a...

Lookup country for GPS coordinates without Internet access

I need to find out in what country given GPS coordinates are, on a device that has no Internet access (e.g. this, but without the easy on-line solution). Having no experience with GIS, I guess I'd need some kind of module that would statically store shapes of countries and match current location against them. I'd therefore like to ask w...

How do I combine GPS track data with another time-coded dataset?

I have GPS track data from a logging device, in GPX format (or any other format, easily done with gpsbabel). I also have non-GPS data from another measurement device over the same time period. However, the measurement intervals of both devices are not synced. Is there any software available that can combine the measurement data with the ...

Virtual GPS app for Blackberry

Is there any app similar to VirtualGPS for windows mobile, which can be used on BlackBerry 5.0 without GPS hardware? Preferably free. ...

how to trap the location alert response iphone

Hii, I am using GPS in iphone and it show conformation message for use location service. and i want to trap what user select "Allow" or "No". can any one suggest how i do this? Thank ...

How to get 'heading' info from GPS on an iPhone WebApp

I am making a mobile webapp for iPhone and probably other devices and am able to get the lat/long with a reasonable accuracy but I'm not getting any other values from the phone's GPS. The 'heading' is quite important for what I'm wanting to do. Is there a way for Mobile Safari to give this info or is it not supported yet? I haven't found...

Typical time and horizontalAccuracy of iPhone CLLocation in practice

I'm wondering if anybody has done thorough empirical testing of the iPhone's ability to find its location. Obviously the performance and accuracy will depend on the type of area one is in (urban vs suburban vs remote). Just testing from the Simulator, I get a horizontalAccuracy of < 100 meters (98 meters) in a few seconds. I believe it ...

how to trap the location alert response iphone

Hii, I am using GPS in iphone and it show conformation message for use location service. and i want to trap what user select "Allow" or "No". can any one suggest how i do this? Thank ...

Android - how to get location of friend

Is there a way I can access the data in Google Latitude to return the location of a fellow Latitude user? ...

What Garmin protocol GPS library for .NET exists

Hello, I'm developing a GIS application and i had been using devices that output NMEA protocol. There are lot's of libraries for NMEA devices, but for garmin there is only one that i have found and isnt very complete: OpenGPS.NET I have 2 questions: 1) how do i use the library whit an USB device that does not create a virtual com...

PHP : Access to Bluetooth GPS via Serial Port (SPP) COM3

Hello, how can I access to my Bluetooth GPS via Standard Serial Port (SPP) using PHP in Windows ? Thanks. ...