Skip to content

Android app that calculates average for student based on subject count provided by user.

License

Notifications You must be signed in to change notification settings

RobertNeat/Average_app

Repository files navigation

Average_app

Android app that calculates average for student based on subject count provided by user. Application is written in Java and in Android Studio (Electric Eel 2022.1.1) and features:

  • EditText is validated during focus change (the name and surname is non-empty literal such as surname),
  • EditText cantaining subject count have numeric keyboard and must be between [5-15] to be able to move to second activity,
  • Is any of the EditText is incorrect when going out there is toast message that the user wrote wrong value,
  • The button that goes to second activity is only visilbe when all the values are correct (and forwards subject count as bundle),
  • Second activity uses recycler view to display variable count of subjects as a form,
  • Second activity calculates average and then forward that infomrmation as bundle to first activity (where the end-button is displayed),

Development environment:

  • Java SE Runtime Environment (build 1.8.0_371-b11)
  • Android Studio Electric Eel | 2022.1.1

How to compile and run

To run application:

  1. Download zip package
  2. Extract package and open using Android Studio
  3. If there is error with versions (pre Electric Eel) you should change version of the IDE in one of the gradle files and rebuild
  4. Build application and run (either on VM Android or physical device, the development device is Samsung A53)

Screenshots:

  1. Application showing in app tray with specific icon:

2. Application launch:

3. First view without any values inputted by user:

4. When first view is filled up there is button appearing that launches second activity:

5. Second view uses recycler view that shows variable number of subjects:

About

Android app that calculates average for student based on subject count provided by user.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages