This is a sample project that demonstrates how to use the OpenCanvas platform to build a location based Android app.
You must have Google Play Services, Android Maps Utils and Volley added as library project dependencies in your project.
You will also need to register for a maps api key and an OpenCanvas app key.
Once you obtain the required keys, replace them in the /res/values/api_keys.xml file.
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="maps_api_key">Your maps api key goes here</string>
<string name="opencanvas_api_key">Your OpenCanvas app key goes here</string>
</resources>
The sample app is also using the Android Support Library v4 and the Google Gson library which are included in the source code.
The app contains two screens. The first is a list of routes (see Route class) that are downloaded using
the OpenCanvas API. The second is a map that displays the route on the map, as well as
the POIs (see Place class) that are related to this route.