Lazytracks is a project mainly written in Java, it's free.
Android App that tracks the places you've driven to and how lazy you are