Giter Club home page Giter Club logo

triptracker's Introduction

Trip Tracker

This is an Android app I threw together in a few hours to do periodic GPS location tracking on a phone and send the GPS coordinates to an HTTP server.

Enter a URL that accepts POST requests, choose a poll interval, and tap "Enable Tracking". The Android location manager will return a GPS location every so often around that interval (it is not exact) and the information will be POSTed to your URL.

The POSTed parameters are a locations array, each element being a hash including time (a Unix Timestamp from the Location service), latitude and longitude (two float values of arbitrary precision), and speed in meters per second.

There is some error handling for when you travel out of reach of data service or the server is not responding properly. Location points are stored in a queue and retried until they are received by the server with a 200 HTTP status.

Disclaimer

I wrote this to track my location on a long trip to display the coordinates on a map. This application does use a background service, but a persistent notification/icon is displayed. Please don't disable that in order to use this application for creepy stalking (there are probably much more stealthy apps available in the Market to do that, ok?)

Building

  • ant debug install should do it

Compiled versions may be available at https://github.com/jcs/triptracker/downloads.

Screenshot

screenshot

triptracker's People

Contributors

jcs avatar bryant1410 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.