Just another trying-to-be-a-geek's blog
Posts tagged java
BMI Calculator: My First Android App
Sep 1st
Okay, after Oracle went after google for patent rights i got interested in android more than ever so decided to jump right in and program something. Following is my first app:
BMI Calculator
Purpose
- Calculates BMI (Body Mass Index).
Features
- Support multiple unit systems
- Bells and Whistles:
- Changing Unit System automatically changes the units inside Height and Weight field labels
- Gender Spinner data is read from @arrays/gender_list. This was not needed, just did it to learn how one can read XML and attach an adapter to it.
- Gender Spinner’s Prompt reads from @strings/select_gender. This was needed and done.
- Height and Weight EditText allows 6 characters, single line and decimal
- Hitting Calculate More >
Open Source in Pakistan, nowhere?
Sep 18th
I used to wonder that even though there are so many communities and groups working on promoting and training people about Open Source i dont see it at government level but my views changed as i return from MRA Rawalpindi office. For those who dont know i bought a bike some weeks ago and had to get it registered so went to the office on a weekend and when the couter guy handed me a paper which contained details about my registration and etc, God, was i surprised to see a url ending with: (more…)