The sample Android app demonstrates how to use a custom combination of Google Maps and StreetView.
- All code is concentrated here: MainActivity.java
- Layout: activity_main.xml
The app require that you add your own Google Maps API key:
- Get a Maps API key.
- Create a file in the root directory of the project called secure.properties (this file should NOT be under version control to protect your API key).
- Add a single line to secure.properties that looks like: MAPS_API_KEY=YOUR_API_KEY, where YOUR_API_KEY is the API key you obtained in the first step.
- Build and run