Friday, January 27, 2012

Basic Calculator

     I was assigned to create a basic calculator application in java that would run on an android phone and post it up on the marketplace to allow others to test and use it.  It took about 2 hours or so to get the application up and running.  I created this application using the Eclipse IDE (www.eclipse.org) and the Android SDK (developer.android.com/sdk/index.html).  Figure 1 shows a screen shot of the calculator as it is running in the emulator.
Figure 1 Basic Calculator Application.

     The calculator will do addition, subtraction, multiplication, and division.  Also, it will allow you to store a number in memory and then recall it later to be used in your calculations.  There is a clear button that will clear the calculator input area and any number stored in memory.  The <-- button will allow the user to backspace off the last digit showing in the input box, this can be repeated deleting all digits currently in the input box.

     Being that there are already an abundance of calculator apps out there and that this app met the requirements that was needed for my assignment I probably will not be adding any more features to it.  Unless, of course, there is for whatever reason enough people wanting to use it to justify more time put into it.  I will however do my best to fix any bugs that may be present with this application.  I try my best to make sure any program that I make available to anyone fully works to the best of my ability.

     If you want to test this app you can find it on the android marketplace (https://market.android.com/details?id=edu.mecc.calculator).  Feel free to give the calculator a try and review / rate it.  If anyone would be interested in the java code for the calculator let me know.  If enough people are interested I will try to make a little tutorial or code break down on how to make this application.  As always, I appreciate any comments you may have and if you liked this don't forget to +1 and like.


Check us out on Google+ (Indie Development).
Check us out on our .co site (Indie Development).

No comments:

Post a Comment