Create an Android GPS tracking application

The source code for the Android mobile application open-gpstracker which you appreciated is available here. You can checkout the code using SVN client application or via Git: svn checkout http://open-gpstracker.googlecode.com/svn/trunk/ open-gpstracker-read-only git clone https://code.google.com/p/open-gpstracker/ Debugging the source code will surely help you.

Convert from latitude, longitude to x, y

No exact solution exists There is no isometric map from the sphere to the plane. When you convert lat/lon coordinates from the sphere to x/y coordinates in the plane, you cannot hope that all lengths will be preserved by this operation. You have to accept some kind of deformation. Many different map projections do exist, … Read more

How is it possible that Google Fit app measures number of steps all the time without draining battery?

Thanks for asking this question! Battery is one of our top most concerns and we work hard to optimize Google Fit’s battery usage and provide a magical experience. Google Fit uses a mix of sensors(Accelerometer, Step counter, Significant Motion counter), Machine Learning and heuristics to get the data right. Our algorithm is pretty similar to … Read more

Android MapView -setting zoom automatically until all ItemizedOverlay’s are visible

Kinda like this int minLat = Integer.MAX_VALUE; int maxLat = Integer.MIN_VALUE; int minLon = Integer.MAX_VALUE; int maxLon = Integer.MIN_VALUE; for (GeoPoint item : items) { int lat = item.getLatitudeE6(); int lon = item.getLongitudeE6(); maxLat = Math.max(lat, maxLat); minLat = Math.min(lat, minLat); maxLon = Math.max(lon, maxLon); minLon = Math.min(lon, minLon); } mapController.zoomToSpan(Math.abs(maxLat – minLat), Math.abs(maxLon – … Read more

GMSPolyline very large memory spike

why don´t you try to use google API for direction, based on basic http requests. https://developers.google.com/maps/documentation/directions/ . (check the conditions on licensing and nº of requests). And then plot the the data with IOS MKPolyline. i´m Sure you will have better performance. And you will only depend on google for the positioning data. to convert … Read more

How accurate is Android GPS? [closed]

10 centimeters? No chance. In any event, Android is just a device OS; the actual accuracy of a GPS device is dependent on the device’s chipset. Android may be theoretically capable of accomodating devices with that level of accuracy, but that’s it. The accuracy of GPS devices is normally not presented as a simple distance, … Read more

UIImagePickerController and extracting EXIF data from existing photos

Have you took a look at this exif iPhone library? http://code.google.com/p/iphone-exif/ Gonna try it on my side. I’d like to get the GPS (geotags) coordinates from the picture that has been taken with the UIImagePickerController :/ After a deeper look, this library seems to take NSData info as an input and the UIImagePickerController returns a … Read more