Lab 6

Description:

 

This lab is creating an Android app for the first time. In Android app programing, the coding is based on Java, and the layout is based on xml. In Eclipse, the layout can be edited either in graphical mode or text mode. Some elements, such as button, within layout xml file need to be assigned an activity in corresponding java class, so the element can have a use. The strings used in the layout xml are stored in res/values/strings.xml, and the string is called using “@string/string_name”. In the java class, if an element is needed to be called, use the code as “findViewById(R.id.element_name)”.

Procedure : http://developer.android.com/training/index.html

Screenshot:

Screenshot_2014-04-28-10-50-40[1] Screenshot_2014-04-28-10-50-53[1]

Leave a Reply

Your email address will not be published. Required fields are marked *