Giter Club home page Giter Club logo

idscalculatorapp's Introduction

IDSCalculatorApp

Sample Xamarin calculator app for Android This lil' guy is my first Android application beyond the test application Visual Studio/Xamarin builds for you the first time you create a new project. There's nothing fancy; no scientific functions, no super-duper UI; just a plain four-function calculator that will produce results rounded out to 8 digits past the decimal point.

I had a lot of fun with this so I didn't mind spending several hours making it work more or less right and be feature-complete with regard to all of the buttons I originally designed for it.

Things I would change:

  1. I don't like how the TextView control goes outside the right boundary of the TableLayout I used. Couldn't figure out how to fix that in a reasonable amount of time.
  2. Unlike a "real calculator" the display blanks after you hit an operation key. I could probably fix this, but there's only so much time. The reason why it does it is because the "register" (e.g. the display) is the holding spot for the currently calculated value, and retaining the display after hitting an operator button was making for some strange results. It's a little less than perfect, but it at least does the math right.
  3. It sure ain't pretty. I'm no artist. Plus I had to learn a lot of stuff to make this work in a short amount of time, and pretty was well down the list of priorities.

You like this? Let's talk. I liked doing it. I also like screwing around with electronics, Arduinos, Raspberry Pis, etc. I'm no EE, but I can wire a circuit together from a schematic (most days) and I love working on automating all the things.

--Geoff

idscalculatorapp's People

Contributors

ggariepy avatar

Watchers

James Cloos avatar  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.