Coder Social home page Coder Social logo

veoride-map-api-test's Introduction

Interview coding task

Summary

In this app you can do following things:

  • Open the map
  • Choose destination, app will show your location (after you will give permission)
  • Start you trip and see traveling path
  • Stop you trip at any time
  • When you will get you destination app will stop your trip automatically
  • After your trip is finished, you can see summary of the trip that includes:
    • a. Your traveled path (shows on the map)
    • b. The elapsed trip time
    • c. The total distance traveled

Steps I took to develop this app

  • The app was created by following:
    • a. SOLID
    • b. clean archetecture pattern
    • c. Repository pattern
    • d. Dependence injection(using Dagger2 lib)
    • e. MVVM and LiveData
  • The app can save state after rotation and swiching to another app(SavedStateHandle)
  • The app is using service to get current location update
  • The app is BroadcastReceiver to make changes on the map during your trip
    • if you will go wrong way the app will change your route

The video of app flow

video is here

To make it works

  • To start this app you need to create keys.properties file in your root app directory and put API_KEY inside this file You can get your own API_KEY here

example: api_key = "YOUR_API_KEY"

  • AND add to gradle.properties file API_KEY example:API_KEY = YOUR_API_KEY

veoride-map-api-test's People

Contributors

elkasvirelka 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.