Source Text Link: http://www.cnblogs.com/shyang--TechBlogs/archive/2011/03/14/1984195.html
Android SDK (software development Kit)
Android ADT (Android development Tools)
Android.jar is a compressed package containing all the APIs containing the compiled class file, which is opened by WinRAR to see its internal. class data.
Basically all of the UI in Android is implemented by view or by a subclass of view . View represents an area that can handle events and can actively render the area.
As a development platform for mobile devices, Android has a software hierarchy that includes an OS, middleware, and applications. (As with PC application development), the Android Application Development Framework (application framework) is very ingenious, and developers should have a good understanding of how the development framework works to develop better applications.
a set of views (UI components) These UI components include list, TextBox, Button, and so on, through which you can build the view portion of your application.
Content Providers provides a mechanism for exchanging and sharing apps data.
Notification Manager lets the program display its own alert information in the status bar.
Activity Manager manages the lifecycle of apps and provides a mechanism for applying page exits. In Android apps, each app is typically made up of multiple pages, and each page is organized by activity, i.e. Android apps are made up of multiple activity interactions (some apps have only one activity).
Android Application Composition
1.Activity generally represents a screen of the mobile phone screen, equivalent to a browser Web page. Some view can be added to the activity and some events can be handled for these view. A general application consists of multiple activity, which can be used to jump from one activity to another, unlike a page jump, where a jump between activity may have a return value for the previous activity.
When a new screen is opened, one of the previous screens is placed in a paused state and pressed into the history stack, and the user can return to the previously opened screen with a fallback operation. We can selectively remove some screens that are not necessarily retained, because Android saves each app's start to the current screen in the stack.
Activity life cycle of ....
2.Intent An Intent was an abstract description of a operation to be performed. There are three kinds of intent in Android: through intent we can jump between multiple activity, start a service, broadcast an event.
The two most important parts of the intent are the intent action and the data for the action.
A class related to Intent is called Intent Filters. If intent is a valid request, then a intent filters is used to describe which intent an activity can manipulate.
3. Broadcast Intent Receiver
Use Broadcastreceiver to let your app respond to an external event, such as a phone call-in. The UI cannot be generated, is transparent to the user, and notifies the user through Notificationmanager that these things have happened.
4. Service faceless task and runs in the background
Content Provider This class implements a standard set of interfaces that allow other apps to save or read the various data types of this Content Provider. Provides a mechanism for exchange and sharing of apps data.
Interface UI Elements
The View component views The most basic UI class, and basically all advanced UI components inherit the view class implementation, such as TextView (text box), Button, List, EditText (edit box), RadioButton, Checkbox such as A view occupies a rectangular area on the screen, and he is responsible for rendering the rectangular area, as well as handling events that occur in the rectangular area, and can set whether the area is visible, the focus, and so on.
View Container Component ViewGroup Android.view.Viewgroup example, the role is the view of the container, is responsible for the layout of the view, ViewGroup can be nested, Because ViewGroup is also an inherited View.viewgroup class, he is an abstract class and a base class for other container classes.
Layouts Component Layout is an implementation class for ViewGroup, where linearlayout can be horizontally laid out and vertically laid out. The relativelayout can be relatively laid out. Framelayout is like a blank area that is pre-booked on the screen, and can then be filled with elements into it, such as a picture, but all the elements are placed at the top left of the area and cannot be assigned an exact position, if more than one element overlaps the previous element.
/** Code Explanation:
Android ID defines the ID of the component, which can be accessed through the ID of the defined element
Android : layout_width = "Fill_parent" means that the element can fill the parent container's space in the X-and y-axis directions
Android : layout_width = "Wrap_content" means that the length and width of the element simply wraps the inner element, without populating the parent container.
You can associate a layout with an activity, and this layout is defined in an XML file.
Of course, all view and layout can be constructed directly in Java code.
Android Learning Notes (i)--activity introduction and View