1. Download our Official Android App: Forums for Android!

Apps Source for my application

Discussion in 'Android Development' started by Swizz, Sep 19, 2011.

  1. Swizz

    Swizz Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    78
    Posts:
    730
    Joined:
    Nov 10, 2008

    Nov 10, 2008
    730
    95
    78
    Portland, OR
    Over the summer I've dedicated a good chunk of my time to learning the basics of Android development. Through that I created an application called "555 Calculator". For those of you who don't know what the NE555 is, it's a chip designed to produce a square wave at a given frequency; the frequency is determined by the value of two resistors and a capacitor that are wired to the chip. Normally the process for figuring the values is a headache inducing trial-and-error process until you can come up with values that came as close to the frequency you wanted. This just does the hard work for you.

    Digressing, now that the application has been developed to my liking, and I feel like there is nothing I can add to it that will aid in my learning, I've decided to release the source in hopes that others will be able to learn from what I've built. It covers a lot of the basics of any programming language.

    Some of those things are, but not limited to:

    -Simple "back" button implementation
    -Read/write arrays to and from text files
    -Loops
    -Switch statements
    -Name Value Pairs
    -Sending data to a PHP script using JSON
    -Receiving data from a PHP script using JSON
    -Spinners
    -Context Menu
    -ADMob
    -Toasts
    -Bubble sort

    I've included the source for both the application itself and the php script it communicates with.

    The code is messy, duct tape and bubble gum messy, but it works and takes a real genius to crash it. Hope some of you can learn some things and save yourself potential hours of combing the Internet trying to solve the simplest of problems.

    Download
     

    Advertisement

  2. raduq

    raduq Newbie
    Rank:
    None
    Points:
    16
    Posts:
    10
    Joined:
    Sep 18, 2011

    Sep 18, 2011
    10
    1
    16
    Student
    Cluj Napoca - Romania
    Thank you for sharing your work! :) It certainly helps!

    Good luck with coding/learning in the future!
     

Share This Page

Loading...