gps

Async data fetching from Java WebService

Hello I'm implementing a client-server GPS application. Client side is a J2ME midlet that sends GPS location via HTTP/XML to a Java Webservice (Tomcat servlet). The servlet stores positions in SQL database. The other client app is a web browser that can login and see the actual position of midlet using Google Maps. This client is writte...

cookielib and form authentication woes in Python

InstaMapper is a GPS tracking service that updates the device's position more frequently when the device is being tracked live on the InstaMapper webpage. I'd like to have this happen all the time so I thought I'd write a python script to login to my account and access the page periodically. import urllib2, urllib, cookielib cj = cook...

How to use GPS indoors on a mobile device?

I am new to mobile applications. Basically I want to get the user's GPS coordinates indoors. I have no problem detecting the mobile device outdoors, only when indoors it is giving me problems. I have tried setting the accuracy, but no avail. Is there a solution to it? Here is my code: new Thread() { public void run() { ...

How to calculate area which was compose with mulit- Coordinates ?

Hi, dear coders , as topic, the Coordinates value (Latitude and Longitude) is known , these Coordinates will compose as polygonal area , my question is how to calculate the area of the polygonal that is base the geography ? thanks for your help . ...

iPhone Direction Arrow?

I need to create an iPhone simple view that, based on the location of the user in the world, points the person to a never-changing Long/Lat location. Is it possible to know this from the iPhone API? Any examples? ...

Web App GPS Polling

So it looks like mobile phones these days are capable of providing gps data ;) I'm building a django app with a mobile edition that I want to be location aware. My question is, how does one access GPS data? Is there a standard, or do you have to custom code for android/iphone/other. Ideally, I'd imagine it being provided in the HTTP r...

CLLocationManager Simulator to simulate car moves ?

I'm looking since quite a long time something like a CLLocationManager simulator that would enable me to simulate GPS positions (CLLocation instances that could be retrieved through the CLLocationManager standard delegate mechanism) along a predefined route for instance (with a KML or GPX file as input, or whatever, but KML would be ni...

Android: getLastKnownLocation out-of-date - how to force location refresh?

I'm using myLocation = mLocationManager.getLastKnownLocation(LocationManager.GPS_PROVIDER); to retrieve the current location at the start-up of my application. As the Android documentation states, this location can be "out-of-date", since the method returns the location when the GPS was used the last time. How can I actively reque...

Android: application global onPause() and onResume()?

Is there something like an application global onPause() and onResume()? My main activity listens for GPS fixes, which I want to continue working when switching to another screen/activity. Therefor I cannot unregister my LocationListener in the activity's onPause(). However I still want to unregister my GPS listener when switching to ano...

How to read GPS signal strength in Windows Mobile?

How can I read the GPS signal strength from my Compact .NET app in Windows Mobile 5 and/or 6? I've only seen accessors for GPRS and Wi-Fi signal strength in the API. ...

How to compute a radius around a point in an Android MapView?

I have a MapView that I'm displaying a "useful radius" (think accuracy of coordinate) in. Using MapView's Projection's metersToEquatorPixels, which is admittedly just for equatorial distance) isn't giving me an accurate enough distance (in pixels). How would you compute this if you wanted to display a circle around your coordinate, given...

Detect mobile device indoor (J2ME)

Hi all, I am trying to develop a mobile application using J2ME to detect the device indoor. As GPS is impossible to detect the mobile device indoor. So i am looking into using location base with cell id. Can anyone gives me some guidance on the approach of this? opencellid.org provides a free source for detecting the mobile using cel...

Strange GPS fix behavior on 3g iPhone

I wrote an GPS enabled iPhone App that needs about 70m accuracy. In most cases this accuracy is reached after a few seconds waiting. But on some occasions it is never reached. Then I have to restart the iPhone and my app and the fix is acquired immediately. Some users also told me that starting a different app that uses gps, close that ...

What are you guys using to get GPS data on windows mobile?

I cannot find a solution that works on all my devices. I need a library that will work on windows mobile 6 and 6.5. I can get the sdk sample to work on my HTC HD2 but it will not work on the HTC Diamond(Fuze) ...

Simulation of GPS on Android Emulator Device?

Hello, I saw in android documentation that there is a NMEA file in the android server of the emulated device at the location: /data/misc/<provider: like gps>/file.nmea I can't see it. Can anyone help please merci ...

What's the best way to evaluate the accuracy of GPS sensor data for a user's location?

hi all, i want to use the best Coordinate. but one thing is confusing me here i want to check that if new location accuracy is better then use new location otherwise use old location if (newLocation.horizontalAccuracy>oldLocation.horizontalAccuracy) { self.bestEffortAtLocation=newLocation; // this mean new location is better accura...

Android: Keep GPS active

Hi i'm having a main activity that runs a gps listener. If i'm starting a new activity the listener is destroyed. I need the gps to be still activated, also after starting the 2nd activity. Do i have to implement an own listener there, or is there another solution? thx ...

GPS Operation: Is there a service charge?

Hello! Some questions on GPS receiver module: If we purchase a USB GPS receiver module, do we have to pay monthly/time based charges for using the facility? Is it possible to use the data from a receiver to detect acceleration? Approximately, how much acceleration can we measure? Would the data transmission rate between the receiver a...

What is a reasonable timeout for acquiring a GPS fix?

I am creating a BREW app that requests the user's position. If the phone cannot acquire the position, I would like to display an error. How long should I wait for my callback to be called before I determine that the phone is not likely to get a GPS fix? ...

How to convey GPS point to Maps(iPhone GPS application) from my application

Let's assume my application has received GPS coordinates of target location from network. How to run Maps(iPhone GPS application) and convey these data to it? ...