This is a cab/taxi app for android users. It is single app for both Customer and Driver. By providing two general options as Customer or Driver one can decide the type. This app provides a login and registration support where a user can first decide type then proceed. So multiple users at once can be accommodated. Mapbox SDK is used for Map. And for Realtime-Location Services, Firebase is used. The app was made in the thought that it can be edited easily and understood easily, and latest Android Pie is used for testing and is tested on previous versions also.
This project uses the Gradle build system. To build this project, use the gradlew build
command or use "Import Project" in Android Studio.
For more resources on learning Android development, visit the Developer Guides at developer.android.com.
From Mapbox we need an account and access token. Sign up for an account at mapbox.com/signup. You can find your access tokens on your Account page.
Copy the access token and place the token and go to String Resources and paste your token at access_token.
For more resources on learning Mapbox Map SDK, visit the Mapbox Android and Mapbox Navigation App at mapbox.com.
In this project, Firebase Authentication and Real-time Database are used. You don't need to do any coding for Firebase all the things have been managed. The first setup accordingly, and observe the Console. You will need to setup Firebase for project as described in Firebase to Android Project at firebase.google.com.
Set up an Android project for Email and password authentication as described in Email Password Authentication at firebase.google.com.
We are using Firebase Real-Time Database as it is the best present, and which fulfils our need i.e, GeoLocation Query. We are doing Geolocation Query with the help of GeoFire. Use the above links for resources and learning.