I come from Pakistan where, if someone needs blood, the people closest to him have to post on social media and sift through all their contacts to find a willing donor with a matching blood type. Then, one day when I was seeing such a post, I saw an article under it explaining how, in 2016, the Red Cross had a blood supply shortage due to an underwhelming number of blood donors. I wanted to make this process easier and give people direct access to registered blood donors around them.
What it does
This app lets blood donors register with their name, phone number and blood type. Then, users can look through a list of registered blood donors near them who match the blood type and would be willing to donate blood.
How I built it
I built it by using a database to store the donors using MySQL and took the data from the database and organized it into a list showing all the donors with their number, name and blood type.
Challenges I ran into
Since it was my first time working with MySQL and with Adapters and Spinners, I had trouble converting data types and getting the data to be smoothly read and written to and from the database.
Accomplishments that I'm proud of
I made a working local database and worked with Adapters successfully.
What I learned
Aside from learning how to use databases with android and new data types, I learned how to tackle problems from different angles.
What's next for Blood Donor
I plan to add functionality to let the app find contacts that are already in your address book and registered blood donors. I also plan to add filters for blood types and to add a sorting algorithm to sort the donors.