From 2014-2021, Code For Greenville members built and maintained the technology which allowed thousands of locals and visitors to track the downtown Greenville trolleys in real-time from their mobile devices.
As of June 30, 2023, Code For America officially withdrew fiscal sponsorship and use of the "Code For" trademark to all national brigades, including Code For Greenville.
After July 1st, 2023, contributors can get involved with two re-branded efforts:
- For ongoing civic projects, connect with Code For The Carolina (which itself will rebrand by the end of 2023)
- For local tech APIs and OpenData projects, see the HackGreenville Labs repositories on GitHub and connect with the team in the #hg-labs channel on the HackGreenville Slack
Android Client Application for the Trolley Tracker, which tracks the downtown Greenville, SC Trolley. This is a project of Code for Greenville, the Greenville South Carolina chapter of Code for America.
- Pull down the repository and build with Android Studio using Gradle.
- This application leverages the Google Maps API, which offers a free tier, thus, get a Google Maps API key here
- Create an XML file which contains the Google Maps API Key that you got above to and save to
app/src/main/res/values/google_maps_api.xml
<resources>
<string name="google_maps_key" translatable="false" templateMergeStrategy="preserve">
{GOOGLE-MAPS-API-KEY}
</string>
</resources>
- You should now be able to run the build as expected.
(NOTE: By default in the development environment we run the app in DEBUG mode. The API is defined in the
Constants
file. Here we define the DEBUG mode URL, which is pointing to our Development API. This is loading test data, not a live Trolley)