GithubHelp home page GithubHelp logo

uberclone's Introduction

UberClone

Hello everyone, this is a Uber-like application I created. It has some features from the original one, like:

  • Login
  • Sign up
  • Profile
  • Add Home and Work location
  • Share on social media
  • Ask for a ride
  • Track your driver position, name, car plate, etc
  • Post-ride details (Distance, time, fee)

Of course it is not complete, and maybe implementation is not optimal and has some bugs, so any recommendation is welcomed :)

For deploying the app, you'll need to add certain dependencies to the gradle. In this case I used these ones:

  • compile 'com.android.support:appcompat-v7:21.0.3'
  • compile 'com.google.android.gms:play-services:6.5.87'

You will also need to run:

For using Google Maps, Google Places and all other Google features, you need an API_KEY, so go to https://console.developers.google.com/project and get one

uberclone's People

Contributors

david-zhou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

uberclone's Issues

Misplace in AddWorkFragment

AddWorkFragment.java
Please check line number 183. The button click should be on R.id.remove_work_button, rather than R.id.remove_home_button. Cheers!
And the auto-suggestion isnt working.Tried on another code using custom AutoCompleteTextView class. Is something wrong with my API_KEY? I got my api key by following steps:-

  1. Went to console.developers.google.com and created a project.
    2)Added the PLACES API and maps API to the project
  2. Went over to Credentials tab and generated a client id.
  3. Went to the app and got the SHA1 certificate code.Pasted it in the box they have provided.Pasted the package name too.

Key for Android applications:
API key
XXXX
Android applications
SHA1 KEY;com.dzt.uberclone
SHA1 KEY;com.dzt.uberdriver
Activation date
Jun 27, 2015, 9:01:00 PM
Activated by
[email protected] (you)

Is it the correct way to obtain it?

Attempt to invoke virtual method 'double android.location.Location.getLatitude()' on a null object reference

Log Trace

Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'double android.location.Location.getLatitude()' on a null object reference
at com.dzt.uberclone.HomeFragment.onCreateView(HomeFragment.java:68)
at android.support.v4.app.Fragment.performCreateView(Fragment.java:1786)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:947)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1126)
at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:739)
at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1489)
at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:548)
at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1243)
at android.app.Activity.performStart(Activity.java:5969)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2277)
            at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2388)
            at android.app.ActivityThread.access$800(ActivityThread.java:148)
            at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1292)
            at android.os.Handler.dispatchMessage(Handler.java:102)
            at android.os.Looper.loop(Looper.java:135)
            at android.app.ActivityThread.main(ActivityThread.java:5312)
            at java.lang.reflect.Method.invoke(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:372)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:901)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:696)

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.