gps

Get countries within range of LAT/LONG coordinates

Trouble! I'm looking for a way to find the countries within a given range of LAT/LONG coordinates. E.g.: When viewing an area in Africa using Google Maps, I get out which countries that are in my current view. This is a bit ambitious, and I think the main problem will be dealing with accuracy of the needed polygons. The accuracy of t...

get location(lat/long) without gps just like my location feature of google maps

Get location(lat/long) without GPS, just like my location feature in Google maps. I have Google Maps in my mobile (Sony Ericsson G502 without GPS). It works fine without GPS in India. 1.How Google finds my position? 2. When i am searching cellid in opencellid database, it has less number of records for India. but Google Maps works fi...

GPS tracking system over Radio waves (Ham Radios)?

Hi. As I searched in forums I learned that for tacking gps I must send coordinates ovew internet connection or SMS .But as I know we can cominicate via radio waves sending voice ,pics,data .And can I use this for getting data from gps device?Because Ham radio is free. ...

Data 'logger' turning off when phone goes to standbymode

I'm creating a datalogger which logs the gps data and the sensor data of the phone. I've just a strange problem. If the phone is not touched for few minutes it goes into standby mode (screen goes black), and that causes the logger to stop working. Actually the firewriting in the logger stops working. The GPS resumes fine after coming out...

GPS.NET library unable to read underlying stream when device is switched off and back on

We're using GPS.NET 3.0.1 in the development of a Windows Forms application. The device we're using is connected to the machine via Bluetooth. As part of our testing we wanted to verify that we could turn the GPS device off and back on again and continue reading the NMEA stream from the device. This was meant to simulate a loss of ba...

iPhone SDK: Do I need to ask user for permissions to use GPS?

In my iPhone application I need to use GPS (CoreLocation to be exact) to get current position of the device. I know that most (if not all) applications using GPS have a popup implemented asking the user to allow GPS access. Is that done automatically by the iPhone SDK or should I implement such functionality myself? I've tried to run my...

How to send GPS data from android to a website?

Hi I'm new to Android and web service development! currently I'm working in developing Android program that will send longitude and latitude information to asp.net website (to show the location change the website map) the questions are - how to send this data to the website (the best practice)! - any suggestions for a suitable framewor...

Getting geographical coordinates from web application

I want to learn a user's location from his mobile device by web application. When user opens the website, with the help of a script we will learn if the device has a gps hardware.And if the device has gps hardware what are the current coordinates? I'm developing my project using ASP.NET Is this possible or not? Thanks. ...

Android Location Error

I've singled out my problem to a few lines of code lm = (LocationManager)getSystemService(Context.LOCATION_SERVICE); Location location = lm.getLastKnownLocation(LocationManager.GPS_PROVIDER); lm.requestLocationUpdates(LocationManager.GPS_PROVIDER, 1000L, 5.0f, this); lat = location.getLatitude(); lng = location.getLongitude(); //lat = n...

Android GPS location updates doesn't work

I am trying to get the GPS location of my HTC magic using the following code : public class TestGPS extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); final TextView tv1 = (TextVi...

No GPS Update retrieved? Problem in Code?

Hello mates, I've got a serious problem with my GPS on my Nexus One: I wrote a kind of hello world with GPS, but the Toast that should be displayed isn't :( I don't know what I'm doing wrong...maybe you could help me getting this work. Here's my code: package gps.test; import android.app.Activity; import android.content.Context; impor...

Getting back from security & location to my application

Hi, I have an application that allows the user to enable GPS. In order to do it, first in the main activity I do: lm = (LocationManager) getSystemService(Context.LOCATION_SERVICE); if (!lm.isProviderEnabled(LocationManager.GPS_PROVIDER)){ showGpsOptions(); } showGpsOptions() is: privat...

C# dll as an ActiveX control to access GPS data in Windows Mobile 6.1 IE

Is it possible using VS2008 and C# to create a class library which can be treated as an ActiveX control on a Windows Mobile 6/6.1 device? I am looking to retrieve the positioning details from a device so I can post the current location on a google map. I have this all working nicely as a application but I need to expose the same functio...

Getting GPS data?

Inside public class IAmHere extends Activity implements LocationListener { i have @Override public void onLocationChanged(Location location) { // TODO Auto-generated method stub } @Override public void onProviderDisabled(String provider) { // TODO Auto-generated method stub } @Override public void onProviderEnabled(Strin...

Blackberry: Return value of Coordinates.distance()

I want to know metric of the value returned by Coordinates.distance() ...

CLLocation is not nil but trying to print it out throws EXC_BAD_ACCESS

Sorry, this may be a noob question but I'm working with CoreLocation and this has be stumped. I'm looking up the currentLocation using a singleton that was recommended on this site and when I get the currentLocation object, it returns true to a not nil check. However, when I try to print out its description, it throws EXC_BAD_ACCESS. ...

Android Position reset after Restart? -> Serious Problem

Hey mates, is it possible, that android cleares the last known location after a restart? Yesterday my code worked very fine, but today after rebooting my phone (AND emulator) it seems that the .getLastKnownLocation (see below) returns null, which leads to a nullPointerException... Can you confirm that? How can I avoid this problem? I'm d...

Send data to webserver from C#, what's the most efficient way?

I am sending gps coordinates from a windows mobile phone to a webserver using a basic program I wrote in C#. The problem is the data plan on the phone only allows 4 MB per month. I was planning on updating the location every 10 seconds. Currently I am just creating a webrequest every 10 seconds to a php page on the server and the coordi...

How does getAltitude() of Android GPS Location Works

HI I tried to implement a simple GPS tracker. Therefore is used lm = (LocationManager) getSystemService(Context.LOCATION_SERVICE); lm.requestLocationUpdates(LocationManager.GPS_PROVIDER, 1000, 0, this); Then i used the public void onLocationChanged(Location location) { method to read the altitude of my current location. But i ...

Best practice to calculate the average speed from GPS coordinates

i have here a device which can give me gps coordinates. the time intervall i can define. i want to use it to calculate the average speed during driving or travelling by car. actually i used a orthodrome formula to calculate the distance between two points and then divided it by the given time intervall. by the implemenation i followed th...