codetop / androidsamples

Sample Android Programs
0 stars 0 forks source link

[Android Bootcamp] TipCalculator #2

Open joshisuhas opened 10 years ago

joshisuhas commented 10 years ago

/cc @nesquena @timothy1ee

Hi Nathan -

I have checked in the code for the tip calculator. Took me about an hour to complete. Tested on the intel simulator. Screenshots attached.

Tip Calculator -

screen shot 2014-03-18 at 1 14 41 pm

Basic tip calculator.

  1. Calculates tips for 15% , 20%, 25%
  2. Uses radio buttons.
  3. Auto updates tip amount when check amount is updated (Enter pressed)

Limitations -

  1. Does not validate the text . Will throw errors if you enter invalid amount (does not check for alphabets, negative numbers invalid characters)
  2. Ideally the tip amount should be recalculated as the check amount is being typed. It does so on Enter pressed.
nesquena commented 10 years ago

:+1: nice work. A few notes after checking out the code:

One of the most important part of these projects is that you add additional features and tweak the UI / UX because that will provide many more learning opportunities. I'm glad you have started that early and I would encourage you to push the projects each week, continue adding your own UI elements and experimenting with optional features that improve the user experience.

We have provided a detailed Project 1 Feedback Guide here which covers the most common points we see for this project. Read through the feedback guide point-by-point to determine other ways you could improve your submission. You should consider going back and implementing applicable feedback as well. Keep in mind that one of the most important parts of Android development is learning the correct patterns and conventions.

Hopefully this has given you a better sense of working with views and the RelativeLayout which is a very powerful layout system, probably one of the best responsive-first layout systems available across web and mobile platforms. The next assignment will build on top of the first concepts introduced here and will also introduce networking, api use, handling remote images and navigating between activities.

If you have any particular questions about the assignment in general or on any of the feedback, feel free to reply here or post on the discussion forum on Canvas.

P.S. Be sure to review submitting assignments and please include info like how long the project took, which optional user stories you completed, and any questions you have. Also consider adding a readme with features and screenshots to each project.

joshisuhas commented 10 years ago

Wow. Great feedback. Thanks!

From: Nathan Esquenazi notifications@github.com Reply-To: codetop/androidsamples <reply+i-29680418-f1068c5d63bc1189308944717b877a5cba93417b-6689042@reply.git hub.com> Date: Tuesday, March 18, 2014 at 9:56 PM To: codetop/androidsamples androidsamples@noreply.github.com Cc: joshisuhas joshisuhas@yahoo.com Subject: Re: [androidsamples] [Android Bootcamp] TipCalculator (#2)

nice work. A few notes after checking out the code:

We have provided a detailed Project 1 Feedback Guide here https://gist.github.com/nesquena/2e76670cfb4e751caf95 which covers the most common points we see for this project. Read through the feedback guide point-by-point https://gist.github.com/nesquena/2e76670cfb4e751caf95 to determine other ways you could improve your submission. You should consider going back and implementing applicable feedback as well. Keep in mind that one of the most important parts of Android development is learning the correct patterns and conventions.

Hopefully this has given you a better sense of working with views and the RelativeLayout which is a very powerful layout system, probably one of the best responsive-first layout systems available across web and mobile platforms. The next assignment will build on top of the first concepts introduced here and will also introduce networking, api use, handling remote images and navigating between activities.

If you have any particular questions about the assignment in general or on any of the feedback, feel free to reply here or post on the discussion forum on Canvas.

P.S. Be sure to review submitting assignments https://canvas.instructure.com/courses/808679/wiki/submitting-assignments and please include info like how long the project took, which optional user stories you completed, and any questions you have. Also consider adding a readme with features and screenshots to each project.

‹ Reply to this email directly or view it on GitHub https://github.com/codetop/androidsamples/issues/2#issuecomment-38017928 .