Android Online Voting App using Firebase as Admin Panel

Android Online Voting App using Firebase

Here, in this blog, I have to show you an android app where firebase is used as a backend service. Android Studio is used for the frontend, whole design and coding is done by using XML and Java. Firebase Realtime database is used for storing user data.

Also in the Firebase Realtime Database, the admin can have several candidates but have to use only 4 parties, i.e. more than one candidate from one party but they must have from Janata Party, Republic Party, Democratic Party, and Muslim Party.

You can change the parties in the Java code, according to your changes your database values will change. Later I will show you how data is represented in the Firebase.

Android

In the registration, we simply take the user’s Phone number, Name, and Password along with also sending some values to the database. Like initially user’s vote is 0 and when the user votes for a particular party then the vote will become 1. Same for the party vote.

Screenshots of the screens

Here I display the current candidate’s name, party name, and Image and a Button with Vote Now. When the user clicks on the Vote Now Button then a popup screen will appear, where it is clearly mentioned that the user needs to add their Fingerprint or Biometric to continue.

Screenshots

After Biometric authentication user will redirect to a screen where the user needs to add an ID number that must be 10 digits. After entering the number user will redirect to the Face Detection Page, where the user needs to show their face and verify as human. Here Firebase Face Detection Feature is used to detect faces.

Screenshots

After face detection is completed, the user will redirect to the all-party page, where the user is able to see all the candidates that participate in the election. Click on a particular candidate to check the details information of the candidate. All details are fetched from the database that the admin added.

Screenshots

After getting the details user can vote by clicking the Vote button. Then user votes will store in the database.

Screenshots

Here admin can check the total votes and the parties’ votes also be able to check the individual votes.

Screenshots

Firebase

How to upload candidates in the Firebase

That’s it. This is all about the Online Voting app. This app is basically for Final year students’ final project purposes.

If anyone has any query or wants to buy this project feel free to contact on the below mention details.

Mail id: barmangolap15@gmail.com

WhatsApp or Call number: +91–8473855948

You can also find me:

Instagram: @androidapps.development.blogs

Link — https://www.instagram.com/androidapps.development.blogs/

Youtube: Golap Barman

Link — https://www.youtube.com/channel/UCqHYLy2nzO0pONL5BueoT6Q/videos

--

--

--

Hi everyone, myself Golap an Android app developer with UI/UX designer.

Love podcasts or audiobooks? Learn on the go with our new app.

The Clean Architecture — Beginner’s Guide

RPA Orchestration: Solving for Human Complexity

First process review!

AWS Route 53

DECODE SENTRE: A 7-day Learn & Earn Event

Pure HTML/CSS Series: Equal Column Height

Nicely aligned links within product cards

CertiK Audit Review of Pre-Staking Smart Contract

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Golap Gunjan Barman

Golap Gunjan Barman

Hi everyone, myself Golap an Android app developer with UI/UX designer.

More from Medium

Simple custom shadow on Android

Android Tutorial: ListView

Android Glide — An image loading and caching library for Android focused on smooth scrolling

Hello World! With Android Studio