PNP2 Blog post submission
A downloadable project
Hello, today I want to go over the work I did for the Project and Portfolio 2 over week 2. To start with, I initially began making the login screen for the build. I began research into how to make a login page, and it seemed simple enough.
I managed to get the login screen ready, but I looked at more guides and I had to write code in the "MainActivity" file. Since all the guides were telling me to make a "MainActivity.java" file, I did exactly that.
I then proceeded to get all kinds of confusing errors. Jin, my teammate, however, came in clutch and solved it by simply making it a kotlin, instead of Java, file. Once that was done, it was relatively simple to make a method to both open the login screen and to make the menu a clickable button.
It was on break on Wednesday, however, that I discovered that Android Studio has a prebuilt login screen template that can plug directly into the existing app.
I get up at 0330 and I had been going to bed at 2300 trying to get this to work and Android Studio did the work for me in 5 minutes.
My suffering aside, I have a working menu button.
And it brings me to the login screen without issue.
So, looking to the future, I am going to begin work on the settings menu, with a tentative goal of both getting the menu up and running and by letting it switch between metric and imperial measurements, or possibly simply setting the height, weight, age, and other metrics for the user. That way we can begin working on the professor's suggestion on giving advice based on the individual data the user provides. However, there is no settings menu template in Android Studio, so I will have to build it from scratch.
And I looked very carefully this time.
Status | Released |
Category | Other |
Author | MilesNegrete |
Leave a comment
Log in with itch.io to leave a comment.