Courtesy: GitHub

OurStreets for Android

Visit StreetView galleries with delightful material design aspects.


OurStreets transitions

With OurStreets you can experience beautiful views from around the world in 360 degrees. All of this with a delightful material design approach throughout the whole interface.

OurStreets demonstrates use of shared element transitions throughout the app.

The data for OurStreets is stored in Firebase and retrieved at runtime. This allows for a smaller initial download as well as modifying of data without having to deploy a new apk.

Download the prebuilt sample


Getting started

Clone and build

This project uses gradle as its build system. After cloning, enter the top level directory and run ./gradlew tasks to get an overview of all the tasks available for this project. Probably you'll just want to run

./gradlew installDebug

to get OurStreets running on your local device.

Add a maps api key

To add a Google Maps API key, follow the instructions on the developers console. Copy the API key you've created and paste it into the file.


If you've found an error in this sample, please file an issue:

Patches are encouraged, and may be submitted by forking this project and submitting a pull request through GitHub.


Copyright 2016 Google, Inc.

Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
additional information regarding copyright ownership. The ASF licenses this
file to you under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.

compileSdkVersion 24

applicationId ""

minSdkVersion 21

targetSdkVersion 24

versionCode 1

versionName "1.0"

compile "${appCompatVersion}"

compile "${appCompatVersion}"

compile "${appCompatVersion}"

compile "${appCompatVersion}"

compile "com.firebase:firebase-client-android:${firebaseVersion}"

compile "${mapsVersion}"

compile "${mapsUtilsVersion}"

testCompile 'junit:junit:4.12'

testCompile "org.hamcrest:hamcrest-core:${hamcrestVersion}"

testCompile "org.hamcrest:hamcrest-library:${hamcrestVersion}"



  • android.permission.INTERNET
  • android.permission.ACCESS_NETWORK_STATE
  • android.permission.WRITE_EXTERNAL_STORAGE
  • android.permission.ACCESS_COARSE_LOCATION
  • android.permission.ACCESS_FINE_LOCATION


The activity hosting all fragments for this application.

@see BackPressAware