I was in Europe recently and recorded a bunch of walking tracks on my Android phone using the very handy application My Tracks from Google. Unfortunately there’s a known problem at the moment where the application won’t start if the phone crashes or loses power while recording – the current theory is that the SQLite database gets corrupted preventing it from loading properly. If you load My Tracks and it just sits there with a black screen and you eventually get the ‘force close’/’wait’/’report’ dialog, you’re probably experiencing this problem.
It is being actively discussed on the My Tracks development mailing list at the moment as several people have been bitten by this and are wondering how to get save their recorded tracks. You can fix the problem simply by deleting all your data, which might work if you don’t care about losing your tracks, but if you’re like me you probably want to hang on to it.
Fortunately a clever cookie by the name of Terry just figured out a workaround to this problem – it involves installing a new application called Locus Free which can (somehow) access your recorded My Tracks tracks, and then export them to KML or GPX.
Based on his instructions I was able to successfully recover all of my recorded tracks, which I’m pretty happy about. Here are the steps I used:
- Install Locus Free from Marketplace
- Go into Phone Settings->Applications and move Locus Free to SD card (I did this so it was easier to access the exported files; I wasn’t sure how else to get them easily)
- Load Locus Free
- Close the first dialog that pops up
- Click the second icon from the top right (cylinder with a floppy disk) to open Data Manager
- Click ‘Export data’ on the Data Manager screen
- Select ‘tracks’ from the small popup
- Change export type to your preferred option (KML for Google Maps/Earth, for example)
- Hit Export
- Access your SD card via your normal mechanism (I use ES Explorer) and browse to /Locus/export and you’ll find the files.
Update 2011-08-05: Gunnar from the MyTracks mailing list also points out the following way to retrieve your data:
However I found that an even quicker way to recover my recorded tracks, including the one that I was recording when the phone died,
was simply to install MyTracks v 1.1.4 over the current v 1.1.7. No uninstall, simply download 1.1.4 and save it to SD-card, then install it from there by double-clicking.
I haven’t found any limitations with 1.1.4 compared to 1.1.7 so I happily use 1.1.4 for recording my tracks, including the heart-rate from my Zephyr HxM.
The v1.1.4 version he mentions is available for download here.