GithubHelp home page GithubHelp logo

b1gdadd7 / caloriecalculator-androidapp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from donaldmyshen/caloriecalculator-androidapp

0.0 0.0 0.0 1.05 MB

A basic calorie calculator Android App, developed with Kotlin.

Kotlin 100.00%

caloriecalculator-androidapp's Introduction

CalorieCalculator-AndroidApp

It 's the assignment 1 of Professor Shook's CSE438 Mobile developerment in WUSTL. A basic calorie calculator.

Functiont List

  1. User can enter total calorie amount on start up (Achieved) Use a dialog here, in mainAcatibity.
  2. User can add new food item by name (Achieved)
  3. User can add new food item by calorie (Achieved)
  4. Adding new food items is done in a second activity (Achieved) Use a new acativity here, acatuall can be instead by a dialog fragement
  5. Calories remaining is updated with each new food item (Achieved)
  6. Calorie consumed is updated with each new food item (Achieved)
  7. The list of food items displays foods and their respective calories amounts (Achieved) Use a list view here and a ArrayList adapter to contain data and view
  8. Color change when calorie count becomes negative (Achieved) Use a function to judge it Because I add an additional function that can allow users reset the plan calories, when the remaining back to positive again, the color wil back to black
  9. All inputs are filtered and error messages are displayed accordingly (Achieved) o Simply use two alert dialog to achieve this function, use a button to maintain dialog display order

Optimization

  1. Greatly improved the UI Add background to all activities Change the character’s color, size and typeface Change the button on the first page to semitransparent Change the title bar’s color (Actual can remove it and even change the app to whole screen version)
  2. Add additional function that allow user reset the calories plan Users may mistake a wrong number or regret when finish setting after start up
  3. Add additional function that remove all the food items in the list and reset the total calorie and plan to 0 at 5:00 user’s local system time.
  4. Suggestion: The second activity can be perfectly instead by a dialog fragment. Testing function and Future pplan Hope to build another activity that allow users can add sports and calories consume. Bugs free but not work. List it in future plan.

caloriecalculator-androidapp's People

Contributors

donaldmyshen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.