- 1、本文档共7页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
android的四大组件(国外英文资料)
android的四大组件(国外英文资料)
Android develops the four components: Activity: for performance. Service (Service) : running the Service in the background does not provide an interface rendering. Broadcast receiver: used for receiving broadcasts. Content Provider: supports storing and reading data in multiple applications, equivalent to a database. [24]
activity
Android, the Activity is the root of all the procedures, all of the process program running in the Activity, the Activity is the developer of the most frequently, is also one of the most basic module of Android. In Android, an Activity typically represents a screen on the phones screen. If you compare your phone to a browser, then Activity is a web page. You can add some buttons, Check box, and other controls in the Activity. You can see that the concept of Activity is quite similar to the concept of a web page. A common Android application is composed of multiple activities. Between these activities
Android applications (20) can jump to each other, for example, after pressing a Button Button, you may jump to another Activity. And web jump is slightly different, to jump between the Activity may return value, for example, from the Activity A jump to the Activity B, then when the Activity B at the end of the operation, is likely to be A return value to the Activity A. This is quite convenient in many cases. When a new screen is opened, the previous screen is placed in a pause state and pressed into the history stack. The user can return back to the previously opened screen. You can selectively remove some of the screens that dont need to be saved, because Android will store every applications beginning to the current one on the stack. [24] (photo album for Android: [25-28])
service
Service is one of the android system components, it goes with the Activity level is more or less, but he cant run, only the background, and it can interact and other components. Service is code that doesnt have an interfaces long life cycle.
文档评论(0)