Android Online Voting App using Firebase as Admin Panel

Android Online Voting App using Firebase

Android

Splash, Registration, and Log in

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.

Home Page

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.

Verification

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.

All-Party Page

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.

Final

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

Admin Page

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

Firebase

How to upload candidates in the Firebase

--

--

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

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