My application, SolarYou is built in the android studio using Java and XML. I first started off creating the interface using XML, despite the graphic drag and drop interface available, I found it much easier to actually write out my layout in XML since the drag and drop screen was kind of annoying to use. The application interface itself consists of 2 EditTexts, one for inputting your age in years, and one for displaying the result of the age calculation in years. There are 16 RadioButtons divided into two RadioGroups, with eight on each side. On the left side it determines which planet you input the age in years for. From this input it picks the correct conversion (MARS_TO_EARTH/JUPITER_TO_EARTH/etc) respectively to convert everything into earth years first. The right side of the two RadioGroups determines which planet you want to see your output age in years in. Upon selection of these RadioButtons, the program picks the correct conversion factor and outputs the age in years that one would be on the selected planet when converting from the planet chosen from the RadioGroup on the left.
The resulting application is simplistic and functional displaying exactly which age you desire to see with the click of a button (labeled convert).
Here's a Youtube demonstration of my app - For some reason the first few seconds of the video where I say "Hi I'll be demoing my app SolarYou" is cut off, but otherwise, here it is, a video demo!
Github Link: https://github.com/SherryXu/CS160/tree/master/MyApplication
Don't have access? Ask me to add you to my repo!
Here's my source from Google drive since I can't post it:
https://drive.google.com/file/d/0Bxkmds0-QvJBMDFDWlJHeThYLVU/edit?usp=sharing
Comments