The goal of this application is to construct an Android application that allows users to identify blood donors by inputting the needed blood group and location Pin code and searching via the app. The user-specified list of donors is displayed in the search results. Under the list of donors displayed after the search, there is a feature called "Request all." An alert notification will be issued to the chosen required donors when you click the "Request
all" button. This alert notification will be presented with the choice to "Accept" or "Decline." The users who have been asked to accept or deny the request can do so. If accepted, the accepted user's (donor's) information is communicated with the requested user via the application.
Application Gateway:
The gateway is where a user is authenticated for the first time. In the programme, there are two sorts of gateways: enrolled logon channel and signup user gateway.
User Login Gateway:
The user login gateway is used to log into the application using the credentials that the user has registered. To log in to the application, the user must provide an email address and a password.
User Sign up Gateway:
The application's sign up gateway includes users who are new to the app. To log in, the user must first register with the application and generate a login credential. To sign up for the app, you'll need a username, an email address, a phone number, a password, a blood group, and a pin code. The user is registered in the programme after inputting the following credentials.
Application Services:
The user enters the application by either the application logon in gateway or the gateway login and searches for the required abo blood in the selected place. The list of contributors in the desired location is then displayed, followed by a tool to send requests to all of the mentioned donors. When a broadcast request is sent, all users see an alert pop-up notification.
The application services includes
Login & Registration
Request for blood
Request all (send request)
Response for blood
Login & Registration:
This module is for creating sign-in and sign-up screens. A registered user and a new user are the two categories of users. To create traditional screens in the app, Android used xml. The customer's sign in page displays their id and password, which they must confirm before allowing them to access the app. If the password does not match, an error dialogue will appear, and the user will be notified. After confirming that the id and password match, the programme will be allowed to run; otherwise, an error dialogue will appear and a message will be sent to the user. The new user must fill out the relevant information, register, and then log in using the credentials they created.
Request for Blood:
The application's request for blood screen includes a drop-down box with multiple blood groups, as well as text areas with the requestor's location pin code and mobile number. To submit a request, the user must first select the type of blood that is required, then input the location code and mobile number. In the required location, a list of all available donors is displayed.
Request all:
The application displays a list of donors, and an option called request all is provided on the screen for sending requests to all of these donors. When a user presses the request all button on the screen, an alert pop notice is delivered to all users in the search, as well as other users.
Response for blood:
This module must create a solution for facial expression recognition that uses a combination of particular picture pre-processing steps when the user's face input appears on the screen. It described an ingenious approach for efficient facial expressiveness.
Database Cloud services:
Firebase is used to access database services, from authentication to all other data-related services. The firebase location service uses GPS and the Google Position API to determine the user's location and retrieve the user's latitude and longitude values.
Using the FCM API Firebase cloud messaging functionality, send a multicast blood request alert message with a response option to record the user's answer to the request.
Google Map API – The Google Map API is utilised to locate the donors as well as the donor location, which is dependent on the requestor's location on the blood search.
Firebase Cloud Messaging - FCM (Firebase Cloud Messaging) is a cross-platform messaging service that allows users to send messages consistently and for free. The blood request alert pop-up messages are delivered to all of the donors mentioned in this section.
UML USE CASE DIAGRAM:
A use case diagram is a visual representation of how a user might interact with a technology. A use case diagram depicts the system's numerous use cases and different sorts of users, and is frequently supplemented by other diagrams. Circles or ellipses are used to depict the use cases.
The system's use case diagram depicts interaction between two application users. The interaction is between the user who makes the request and the user who makes the application, i.e. the donor of the application.
Here
SEQUENCE DIAGRAM
A sequence diagram depicts item interactions in chronological order. It represents the scenario's objects as well as the chain of communication exchanged between them in order to carry out the scenario's functionality.
This flowchart depicts the user's interaction with the database via an application's user interface and a cloud database. Initially, a user from the application accesses the Pre register / Log in page and filled in the details, after which all of the details are uploaded in the backend to the server based on the user details, the form is validated, and if the details are correct, the user's registration process is completed. Otherwise, an error message is displayed, and the user's login credentials are produced. The user can create their own password, and when they login, they are authenticated using Firebase authentication. If the authentication fails, the user is presented with incorrect login credentials; otherwise, the user is directed to the main home page. The user is then taken to the application request page, where they can search for donors and see a list of them.