Turn Android into an awesome cycling GPS
Cycling is all about exploring: visiting new places and making existing routes more fun with better streets. So there must be an app that allows to plan your route and start cycling right? Think again… there is currently no solution that offers turn by turn navigation for cyclists.
As I had an old Android device laying around, I decided to repurpose that and convert it into a GPS that:
- tracks my activity
- imports gpx tracks created on my computer
- offers turn by turn navigation (screen + voice)
This blogpost will detail how I use OsmAnd and Dropsync to create new tracks with minimal effort. Further I’ll also describe the gear I use in order to make this work.
To build your own GPS, you’ll need the following:
- Android phone - I use my Nexus 5, but any Android device will do
- Bicycle GPS mount - I use this one
- Rainproof case - I use these
To explore new places, you need a great tool to create cycling routes. I personally use Strava because it has a “global Heatmap” and also supports “segments” where most people cycle. It is a great way to figure out popular cycling streets and help you plan a great route. Note that you can do all of this using a free account, but with a premium subscription you will get lots more.
To create routes, just go to “My routes” and select “Create new route”:
The global Heatmap indicates where most people cycle:
Segments are often challenging parts to cycle, that contain a leaderboard:
Once you created a route, you can export it to a
gpx file format. Note that it doesn’t matter which GPS you choose to do the export.
OsmAnd offers both turn by turn navigation and storing maps offline. This is ideal to save bandwidth or for phones without a sim card (like mine). It is completely free to use, but there is also a premium version if you want to support this awesome project.
Getting it to work with
gpx files is tricky and hence I will guide you through it.
First of all install OsmAnd (or OsmAnd+). When you open the app, press “skip” and don’t download any maps. This is because they would end up in a private directory. Open the hamburger menu, go to “Settings” and open “General settings”.
Now we’re going to change the directory in which OsmAnd stores all of its files. Use “Data storage folder”, click the “edit icon” and select “Shared memory” as the data storage folder. This will put all files in an “osmand” directory on the root of your internal storage. Accept the permission when promted to allow OsmAnd to create and write to that folder.
Next go ahead and download the maps for the areas in which you will be cycling. When prompted for a storage folder, again select “Shared memory”.
Automatically sync tracks using Dropbox
Getting new tracks on your phone can be quite a hassle. Therefore we’ll automate this process so you can add new tracks to your phone by only using your computer.
First of all, create a new folder in your Dropbox account called “Cycling”.
Then install the app Dropsync (or Dropsync pro). Next configure it so that it automatically syncs any file you put in the Dropbox folder into the correct folder on the Android phone.
Open Dropsync, login with your Dropbox account and select “let me create my own folder pair”. As the local folder choose “osmand/tracks” and as the remote folder “Cycling”. Then select “Download mirror” as the sync method and enable sync. Save the changes and wait for the sync to complete.
Now all you have to do is export a track from Strava, move it into the Dropbox folder and it will autmagically appear in OsmAnd on your GPS!
Turn by turn navigation
Finally you’re ready to start using your synced tracks for turn by turn navigation.
Open OsmAnd and press the “globe” icon in the top left corner. Scroll down a bit and select “GPX track…” to choose the track you want to display. Exit the screen and start navigation by pressing the “navigation” icon in the bottom left corner.
Enjoy your turn by turn navigation!
Tips and tricks
I’ll update this section as I discover new handy features/tricks to make the GPS even more usefull.
- Remove the lockscreen: go to “Device Settings” > “Security” and set the “Screen lock” to “none”. This will enable you to simply press the power key to turn on your screen.
In a few very simple steps we created a complete cycling GPS solution that provides turn by turn navigation and offline maps. Creating tracks is done using Strava and export using a Dropbox folder so that they automatically appear on your GPS device.
If this was helpful to you, consider buying me a coffee or thanking me on Mastodon!
Leave a Comment