actosoft / buntiappmobiletest Goto Github PK
View Code? Open in Web Editor NEWRepor for Android App of Taxi App
Repor for Android App of Taxi App
The main Activity is where the user logged in looks when it enter into the app. In this activity the user can request a taxi.
If the user in the past accepted the localization permission, skip the ask geolocation activity.
After the user was created into the Firebase Authentication, we need to store into the Firestore Database the info of the user (Nombre, Email, Teléfono and UID). The UID is the id auto-generated by Firebase when a user is created.
First ready about non-relational databases, collections, documents.
After that, read how to use Firestore DB on Android.
Resources: https://proandroiddev.com/firebase-android-series-firestore-17e8951c574e
Collection name: users
The UID of the User, need to be the doc name, and into that doc we'll have the info about the user.
We need to setup Firebase on Android App using Android Studio. The config variable will be on Slack.
UI mockup -> https://drive.google.com/file/d/1N0XxzVAKyVxliGpbqeBNglbUZBbrvjiv/view?usp=sharing
As in the other UI issues, document the views used in the UI and its id
This activity is dummy on functionality. When the user clicks on Buscar Taxi you only need to redirect to another activity.
As @UlisesGomezDW request on Slack, we need to send the num variable into the object that we store on Firestore DB.
num: year + month + day + hour + minute + second
Example: 20197281291 -> 2019-7-28-1-29-1
If you have some question, ask @UlisesGomezDW ;)
In this activity, when the user click on the button, you need to ask to the user to allow us to use it localization. If he denies, send a dialog error saying that he couldn't use the app if it cannot access the use of localization. If he accepts, redirect to Method Payment Activity.
Create new Empty for the Register feature
The user will select an option to pay. When he select this option, we need to to the following:
If the database insertion is ok, show a message to the user saying "Tu solicitud ha sido aceptada, por favor espera a que uno de nuestros taxis la autorice".
Firebase has a method which check if a user is logged on the app or not. Read about that method and do the following:
If the user is logged in redirect it to another Activity
If not, redirect to login
Implement the Firebase Authentication with Email and Password. The method is called createUserWithEmailAndPassword.
Resources: https://medium.com/@peterekeneeze/add-firebase-authentication-to-your-app-in-7minutes-c13df58994bd
Mockup -> https://drive.google.com/file/d/1sTLB7JnLdiFoKiIWqUd8c1p0DdX7pEQk/view?usp=sharing
Remember that all the icons for the mockups are on the Drive/assets folder
Based on the mockup: https://drive.google.com/file/d/1r3sfr9sNV5kZVoxxiMonVHEvfqqRYHiv/view?usp=sharing, create the UI using Android Studio in the Design Mode.
All the view used (TextViews, InputText, etc) Needs to have and id unique and human-readable (example: If we have a InputText for Email, the InputText must have an id InputEmail.
The id of the views needs to have a Camel Case format. (Read about it)
Comment in this issue all the views used in the UI and its id
Looks like the inputs of Register and Login are in the top of the screen. Look at @Emily-Garcia activities and improve the UI in all the activities (Login and Register first)
Create the splash screen using Android Studio. Make it visible for 3 seconds.
Mockup Splash Screen: https://drive.google.com/drive/u/1/folders/1rU1rybGMY4paQ_O4cBoLPiU-dpdcg0KV (left)
Image Splash Screen: https://drive.google.com/file/d/1IHo2XMXOlILEj_r1wn6P5EHUQWBK3zUP/view?usp=sharing
https://medium.com/viithiisys/android-perfect-way-to-create-splash-screen-ca3c5bee137f
Right now, when the user select a payment method, the "Pago Satisfactorio" activity is showed. The idea is have another activity before "Pago Satisfactorio" where the user can see it's actual location and tell him "Tu pedido ha sido solicitado, por favor espera unos minutos".
The same as other UI issues
https://drive.google.com/file/d/1sTLB7JnLdiFoKiIWqUd8c1p0DdX7pEQk/view?usp=sharing
Login activity, empty activity.
Based on the mockup: https://drive.google.com/file/d/1N0XxzVAKyVxliGpbqeBNglbUZBbrvjiv/view?usp=sharing, create the UI using Android Studio in the Design Mode.
All the view used (TextViews, InputText, etc) Needs to have and id unique and human-readable (example: If we have a InputText for Email, the InputText must have an id InputEmail.
The id of the views needs to have a Camel Case format. (Read about it)
Comment in this issue all the views used in the UI and its id
Once Firebase is setup correctly, we need to use its Feature Authentication to handle the Login.
Tutorial: https://medium.com/@peterekeneeze/add-firebase-authentication-to-your-app-in-7minutes-c13df58994bd
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.