Create an Calculator Android application using the GridLayout. Your calculator should be fully funtional and perform actions correctly. For example, 2 + 2 should equal 4. All arithmetic should be correct, as you would expect from any app you install. The 'C' button should clear the last number entered, but not clear out the current operation. The 'CE' button should clear out the entire current operation. There are two requirements when the phone rotates: 1. All state of the app should be preserved. If I press '2' and a '+' and rotate the phone, I should be able to press '2' and '=' and get 4 back. 2. The layout should change. Notice from the example screenshot that number of rows and columns change whether you are in Portrait or Landscape mode. The example screenshot shows what will get you a B+/A-.
Examples of (but not limited to) WOW factors:
- Scientific calculator functions
- Slide out drawer for scientific functions (in portrait mode)
- Keep a list of past operations
- Open Android Studio and create an Android project named Calculator-<yourLastName>.
- Initialize as a Git project.
- Edit the .gitignore file and put the neccessary file names that do not belong in GitHub.
- Fork this project into your Github account and make it a remote repository to your Android project.
- Perform a git pull origin master from your Android project.
- Add your files to a commit set and push to the remote.
- Verify files were uploaded to your GitHub account.
- Complete the project.
When you are complete with your project, commit and push files to GitHub. VCS -> Commit Changes
Note: Any issues you have with either the GitHub steps or Java/Android questions should be asked publically in Piazza. If you have a question, chances are someone else does also. If you see someone has posted a question and you know the answer, please chime in and answer.