I am creating a Android application to that stores location of device at fixed interval of time to a file. The locations make a path as the device goes from one location to other. But I want this path to be displayed in google maps.
Currently I am writing to a text file, i've seen GPX format too, should I write a GPX file, but then how to fetch this file to google maps, is there any API available ?
I am using https://github.com/commonsguy/cwac-locpoll/ in this there is a demo project on which I am relying.
Files : - https://github.com/commonsguy/cwac-locpoll/blob/master/demo/src/com/commonsware/cwac/locpoll/demo/LocationReceiver.java and LocationPollerDemo.java which is Activity class in the same folder