Application Components(应用的构成)
A view hierarchy is placed within an activity's window by the The content view is the View object at the root of the hierarchy. 这句话如果是真的,比较重要。 Broadcast receivers do not display a user interface. However,they may start an activity in response to the information they receive,or they may use the Notifications can get the user's attention in various ways — flashing the backlight,vibrating the device,playing a sound,and so on. They typically place a persistent icon in the status bar,which users can open to get the message. 收到消息有可能会用 ContentProvider base class to implement a standard set of methods that enable other applications to retrieve and store data of the type it controls. However,applications do not call these methods directly. Rather they use a
ContentResolver object and call its methods instead. A ContentResolver can talk to any content provider; it cooperates with the provider to manage any interprocess communication that's involved.
provider管理的数据不只是在SQLite里面的,文件系统里面的也。应用要使用数据,要用 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |