Inspiration

What inspired me to make this project was a passion for geography during elementary school and junior high. I remember taking US geography tests and participating in geography bees, and my 6th-grade self would probably think this app is cool. That period of my life inspired me to make this app.

What it does

It shows you a list of all 50 states. When you click on a state, the name of its capital appears.

How I built it

I built it using Kotlin in Android Studio. I used string arrays to store the names of the states and capitals, the recycler view to make the list of states, and an on click listener to respond to the user clicking on the state in order to open the activity with the capital name.

Challenges I ran into

I was having trouble understanding how recycler view worked. Setting the on click listener was also difficult, especially thinking about how to do it using Kotlin. Most of my struggles came from me trying to make sense in my head how my code would work

Accomplishments that I'm proud of

I am proud that I made an app in a weekend. This is my first hackathon by myself, so I am pretty proud I got a project done. Submitting this app to the Google Play Store is also another accomplishment that I am proud of, now just waiting for it to be published.

What I learned

I learned how recycler view works. I learned how to use card view and on click listener with recycler view to send users to a new activity.

What's next for All Caps

A search bar would be a nice addition, where users can search up the names of certain states and capitals. Icons and pictures to engage users would be next. Another feature would be basic information about each of the capitals.

Built With

Share this project:

Updates