Mobile Development
We have created a handful of Android applications and will continue to do so next year in our program. Below are some examples of apps that I have made.
Projects
Diabetes Calculator
This was our first application, where the user would enter either their avergate blood glucose level (eAG) or their A1C value, and our app would handle and display the conversion.
This was relatively simple to make, but it taught us about constraints, different input options, avoiding program crashes, and how to navigate Android Studio.
Tic-Tac-Toe
Our Tic-Tac-Toe assignment was an opportunity for extra credit, but I had a lot of fun designing the layout and the computer's logic.
First, I created the svg's that I would want to use (the game pieces and board) using Inkscape and incorporated them into the layout. After that, I added all of the necessary buttons and code for handling wins and losses.
Finally, in addition to the mode where the computer selects a spot on the board at random (easy mode), I designed a more complex process (hard mode) in which the computer would be able to choose from any existing openings that might lead to a 3-in-a-row.
Pig Dice
Our most recent app was a dice game that the user could play against the computer. This was a multi-week project, where we would add significant improvements piece by piece.
This application ran the computer turn on a timer and could be rotated without losing state. We added two additional activities (a splash page and a leaderboard) that the user could navigate between. We began by simply passing data through intents upon switching activities. By the end, though, we had a separate text file that the app would read to and write from when a game was won, populating a scrollable leaderboard.