Friday, March 1, 2013

Android Basics and building My first app with fragments


An activity represents the visual representation of an Android application. Activities use Views and Fragments to create the user interface and to interact with the user.

The graphical user interface for an Android app is built using a hierarchy of View and ViewGroup objects. View objects are usually UI widgets such as buttons or text fields and ViewGroup objects are invisible view containers that define how the child views are laid out, such as in a grid or a vertical list.
Android provides an XML vocabulary that corresponds to the subclasses of View and ViewGroup so you can define your UI in XML using a hierarchy of UI elements



You will want to enable usb debugging on your phone if you want to test your application on it.
http://www.groovypost.com/howto/mobile/how-to-enable-usb-debugging-android-phone/

Making the emulator fast.
http://stackoverflow.com/questions/1554099/slow-android-emulator

http://developer.android.com/guide/components/fragments.html
http://developer.android.com/training/basics/fragments/index.html

http://www.vogella.com/articles/Android/article.html

1 comment: