Posts

Working in a group project is not so bad....

 By Austin Evans     Well, that's it..... no more milestones, no more team meeting, and sadly no more blogs. This is the last one for this project and to kick it off with the norm, here is what I work on this past week. Getting ready for the post mortem. What is a post mortem? Well its a show case at the end of  the month were the teams that works on the project get to show off the 4 to 5 months worth of work. In this post mortem we make a PowerPoint about the app and how to work. It was nice to have the project finished and show it off to the other teams. When I was going to the other post mortems in the past months, I keeped thinking about how our post mortem was going to go. But atlast the day has come and we have shown the work we have done.     I'm thankful for my teammates on helping me by giving my tips and tricks along the way in the 5 month project. I didn't really have the best knowledge in Android Studio and Java but through time of research and ...

Tis the end of the development

 By Austin Evans     Well, that's it... the end of development. At least for me, what is left to do is a few bug fixes. This past week, I worked on having an X button in the top right-hand corner of our pop-up windows. I was also tasked with getting the PowerPoint started and ready for the post mortem we have at the end of the class.     But right now I figured on talking about the X button for starters since it was the last thing I worked on in code. Since the pop windows were dialog boxes that could be edited. Although I couldn't figure out how to get x in the corner so I went a made it in the XML file. I hide the X until the dialog window shows up in the app, but that was looking good. So I reached out to the team for help and we figured it out together and came to the condulsion of getting rid of the title bar and editing the XML file to fit the way we want it.     Finally I worked on the PowerPoint for the post mortem. There not much to talk about...

The downfall of import a csv file

 By Austin Evans     This past week hasn't been the best week. I was tasked to get the imported file to show up on the routines page but to no luck. Since we are two weeks away from having the app finished, we had to think up another solution. So my teammate came up with saving the file as a binary file and not a CSV file. Since we are not saving the total amount of data to the CSV file, having it load in causes problems. Like not having the exercises show up.      Another thing that was a bust was to import a file from another app. Going with the app called WorkIt that my teammate suggested the file is saved additional information like date, cardio, and some other information. But since we have the additional data pulling in the file causes a NULL error toast. But to get around this problem we decided to scrap the idea for now and return to the issue at a later date.     However, not everything that was done this past week was a bust. I was able ...

Android versions are confusing!

Image
 By Austin Evans     As the title states my main focus this past week was to get the Import and Export working for the android version 7 to 11. The funny thing is that each version of android changes the way a file is stored on the phone. Like in Android 11 we can save a file to the external storage without an extension using something called a MediaStore. However, in android 10 we need that extension to save the file directly. These changes to the save file method for the file cause a problem with each of the versions. Although through trial and error I was able to get the Android 10 to import a file. Since the file is written through the app, so having the different versions won't effort how the file is written. Only saving the file cause a problem. So how did I fix this, well I got a little help online and asking questions with a person I am working with. Through that, I figured out how i.e. the mention of the extension. With that in play, Andriod 10 and 11 are working...

Import and Exports continue

Image
 By Austin Evans      This week I worked on getting the Imports and exports fully functional. For the export, I was tasked with having the file be formatted. Since we are saving the file as a CSV I need to find a way to have to split the data in the file. I first needed to find where I can get the information for the routine history and ended up using the routine class for the information. Since the routines are always increasing in the list I had it loop. After that, I called each function that matches the column-like name I called cRoutine.getM_szName(), having the name saved for the exercise name. I did the same thing for weight, height, and reps. Finally, have the information save to the file and we get this:      For the import I was able to get it to work for android 11.  Here I made another acivity and class for the import, I have a permission function in the import where if the user allows the app then the file would be imported. In the be...

Warm-ups and Cool-Downs

Image
 By Austin Evans      This past week I focus on getting the Warms ups and Cooldowns looking the correct way on the app. I also got the export and import working in the setting part of the app. For the warms ups, we wanted to have them appear at the top of the routine play part of the app.      I also went through the exercise library that we have and manually picked out what were be the best warm-ups and create a few stretches for the cooldowns. Getting the warm-ups to appear at the top of the page was a bit difficult since the way the class is laid out by using a list view. So I had to go and create a header view  For the import I created another class where I can have the user pick a CSV file. The code is simple but doesn't work with android 10 or lower. For the export, I am having the app call an Arraylist of the routine history. However, I haven't got the correct format now but I was able to get the file to save to the local storage on the pho...

Warm-ups and Cool-downs, While Import and Export doesn't work

Image
 By Austin Evans     This past week has been a bit challenging. I was tasked with generating warm-ups and cool-downs in the app. I was also tasked with getting the import function and export function to work, but I haven't got it to fully work. BUT let's talk about the warm-ups and cool-downs, warm-ups and cool-downs show up in the routine play page where the user can edit the number of reps and weight. As of right now, there are one warm-up and one cool-down. As seen below: The warm-ups only show in this part of the app. Along with the cool-downs. The user can also click on the warm-up and it will show the exercise. Get the warm-ups to work wasn't really that hard since I was focusing on the routinePlay class I just needed to add a function for the warm-up and a function for the cool-down. I got a lot of help from a tutor and read through the code.      Since this is an exercise app and warm-ups and cool-downs are important for routine runs. Getting this u...