Skip to content

aaronphilips/as1

Repository files navigation

as1

cmput 301 assignment by Aaron Philips,

CCID: aphilips url to video demo: https://www.youtube.com/watch?v=CSqcCDUnSdo&feature=youtu.be

This is a simple app for tracking habits and completions for created habits. The app will by default open to current day of the week and display the habits for that day. The user can then switch days or use an overview to see all habits. Upon clicking a habit, the user can add a completion, or remove any previous completion. Any changes will be saved and will persist past the closing of the app. The doc/ folder has the UML as well as some notes about it The bin/ folder has the apks The app/src/main/java/ca/as1 folder has the java code. The app/src/androidTest/java/ca/as1 folder has the junit tests I didn't want to change the file structure too much, as the spec said it needed to be buildable.

HEAVILY INSPIRED BY LONELY TWITTER AT https://github.com/watts1/lonelyTwitter that was used as a teaching tool for this course

I used the Jodatime library instead of the default java 6 one that comes with android. Below are some links I found useful. Direct usages are in commments in source code. I also used Serializer class that I found for the Jodatime Library I used. I didn't include in this in the uml anymore than gson builders and such. I have cited the source below and in the comments of the code, however

http://stackoverflow.com/questions/5810084/android-alertdialog-single-button http://stackoverflow.com/questions/9246934/working-with-enums-in-android http://stackoverflow.com/questions/17917968/get-context-in-non-activity-class http://stackoverflow.com/questions/3584113/why-are-you-not-able-to-declare-a-class-as-static-in-java http://stackoverflow.com/questions/17439682/android-file-i-o-openfileinput-undefined http://stackoverflow.com/questions/21202699/how-to-iterate-through-all-activity-componentsviews-in-android http://stackoverflow.com/questions/18336151/how-to-check-if-android-checkbox-is-checked-within-its-onclick-method-declared http://www.tutorialspoint.com/android/android_datepicker_control.htm http://stackoverflow.com/questions/4590957/how-to-set-text-in-an-edittext http://stackoverflow.com/questions/18267091/open-a-datepickerdialog-on-click-of-edittext-takes-two-clicks http://stackoverflow.com/questions/8746084/string-to-localdate http://stackoverflow.com/questions/6286847/how-do-i-create-an-android-spinner-as-a-popup http://stackoverflow.com/questions/33802971/alternative-for-string-join-in-android http://stackoverflow.com/questions/26411379/jodatime-localdate-localtime-not-parsing-with-custom-json-serializer-classes

About

cmput 301 assignment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages