Sunday, October 24, 2010

A case study on Android Application Development #tempconverter

WELCOME Earthlings, to the World of Androids.

Introduction :-
The software “tempconverter” deals with application development in androids. The goal of the app is simple-converting temperature from celsius to fahrenheit and vice versa. The project is opensource & is available at github.

Pre-requisites :-
* basic knowledge of eclipse IDE.
* java
* xml
* working of androids and emulators
* UI development

Specification and requirement analysis :-
For developers:-
OS : Ubuntu 10.04 /linux
Minimum hardware requirements : 256 mb RAM/ 4 GB HDD
IDE : Eclipse
SDK: android SDK
Emulator : any android emulator
System architecture : 32/64 bit

For users :-
OS : Android /linux
Hardware : any android phone / emulator (for linux)
Size on disk : 136.4 KB (for tempconverter)

Design :-
The User interface can be designed in 2 ways :-
1 . the user interface designer for androids present in the eclipse IDE.
2. by creating/editing the xml in main.xml file.
The design of the application is very simple . It includes a text area for display , a text field for input, 2 radio buttons for selecting celsius or fahrenheit and an OK button for calculate.
The UI design can be viewed at res/layout.main.xml


Eclipse + Android SDK

Development / Coding :-
The development or coding can be done in src/android/convert.java.
Again the coding of the app involves the addition of functionality of the buttons.
This can be done by modifying the convert.java file. The addition of features can be done using the “on-click” property of the buttons . (myClickHandler in case of android sdk) . The input is in taken is from the text box and output is displayed in the same textbox. The elements of the software such as string,app_name,colors and buttonHandler must be predefined in the “android resources” tab.
Testing and documentation :-
In case of running the app in andoids , it can directly be done by double-clicking the icon. In case of using emulators , right click->run-as->android application.


Tempconverter on Android Emulator

Implementation & Deployment :-
Being an opensource software , Tempconverter is perhaps the easiest to be deployed. It is legally free to copy and redistribute under GPL license . Also , the project is available at github.
my github link for android tempconv:
http://github.com/sarang05/Android-Temperature-Converter

Maintainence :-
The software can be updated with new versions from github. Also , anyone is free to modify the source code , thus enhancing the app. Also , the bug fixes , if any, can be included directly in github.

Conclusion :-
Thus , the case study on software (project/development) is done . The temperature converter android application can be best viewed in android phones.

- article by Sarang Basutkar

Friday, October 8, 2010

Contest- CodeFunda - Challenge

Hi all,
    I`m happy to announce that Rajmahendra and myself(Ranjith Kumar) planned to host a contest called CodeFunda-Challenges, purely working on real-time projects where user can gain more knowledge and also win some exciting prizes. Normally in workshops and seminars people gains only theoretically knowledge only few peoples tries after attending those kind of events. What my idea is if we do such activities like this peoples can learn more about it and get into it, the
reason for hosting such competition is we get better solution and benefits.
Problem/Idea owner holds the final judgement.

Benefits of this CodeFunda-Challenges
   - It might also help some peoples who have their unsolved problem or
   ideas can be solved.
   - The solution finder will not only gets rewards and he/she gets
   rich experiences.
   - Many opensource projects can be done.
   - Get into real time actions. 

Prizes
   - Cashes
   - Books
   - Gift voucher
   - Movie ticket 

We can get prizes by getting sponsors, donations. 


Coming up soon.... 

--
Cheers
Ranjith,
Software Engineer,