Giter Club home page Giter Club logo

around's Introduction

around

Google Places demo

Specifications / Requirements

As a result from a Places search, the app should:

  • Display 10 places from the search area.
  • Default the search to a 10 miles area around the users current location.
  • Allow the user to extend the search radius.
  • For each row in the list should present: name, image, rating
  • Persist the search results in the app
  • Allow future visits see previous searches and their results.

Built With

Instructions

This demo uses the Gradle build system.

  1. Download the demo by cloning this repository.
  2. In Android Studio, create a new project and choose the "Import Project" option.
  3. Select the root directory that you downloaded with this repository.
  4. If prompted for a gradle configuration, accept the default settings.
  • Alternatively use the gradlew build command to build the project directly.

Get a Maps API key

This demo app requires that you add your own Google Maps API key

  1. Follow instructions at Get Started on Google Maps Platform to create your API key
  2. Create a file in the root directory called secure.properties (this file should NOT be under version control to protect your API key)
  3. 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
  4. Build and run

Issues Encountered

  • Providing a method for 'injecting' the API KEY so the project could be shared publicly
  • Use of the DataBinding Library can often require to rebuild the project in order to generate Implementation classes.

Testing

An Instrumented test has been recorded to demonstrate the MainActivity functionality Instrumented tests much be run on a physical device

Author

  • James Campbell - Android Developer -

around's People

Contributors

idevdroidapps avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.