- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Android系统的基本组成
Application Fundamentals(应用程序基本原理)
Android applications are written in the Java programming language. The compiled Java code — along with any data and resource files required by the application — is bundled by the?aapt?tool?into an?Android package, an archive file marked by an?.apk?suffix. This file is the vehicle for distributing the application and installing it on mobile devices; its the file users download to their devices. All the code in a single?.apk?file is considered to be one?application.
In many ways, each Android application lives in its own world:
By default, every application runs in its own Linux process. Android starts the process when any of the applications code needs to be executed, and shuts down the process when its no longer needed and system resources are required by other applications.
Each process has its own virtual machine (VM), so application code runs in isolation独立的?from the code of all other applications.
By default, each application is assigned a unique Linux user ID. Permissions are set so that the applications files are visible only to that user and only to the application itself — although there are ways to export them to other applications as well.(默认情况下每个应用程序分配唯一的一个linux user ID. 应用程序中的文件,只对于user和应用程序本身是完全许可的——但是也有许多方式去export他们给其他的应用程序)
Its possible to arrange for two applications to share the same user ID, in which case they will be able to see each others files. To conserve system resources, applications with the same ID can also arrange to run in the same Linux process, sharing the same VM(2个应用程序共享同一个User ID 是可以的,这种情况下,双方可以看到对方的文件。拥有相同ID的系统文件,应用程序,运行在同一个Linux进程中,共享同一个VM)
Application Components(应用程序组件)
A central feature of Android is that one application can make use of elements of other applications (provided those applications permit it). Android一个核心功能是,一个应用程序能够使用其他应用程序可用的元素(前提是那些应用程序允许).For example, if your application needs to display a scrolling list of images and another application has developed a suitable(匹配的) scrolle
您可能关注的文档
最近下载
- 中药饮片处方审核培训课件.pptx VIP
- 超星网课《逻辑学导论》超星尔雅答案2023章节测验答案.doc VIP
- 恩格斯《路德维希-·-费尔巴哈和德国古典哲学的终结》.doc VIP
- 2024年款 上汽通用别克 昂科威Plus 车主手册用户手册说明书.pdf VIP
- 电容器带电粒子在电场中的运动-2025高考物理复习热点题型讲义.pdf VIP
- 云南省小粒咖啡出口贸易问题及对策.docx VIP
- !24J306图集窗井、设备吊装口、排水沟、集水坑.pdf VIP
- 初中数学经典题型.pdf VIP
- 水总2014429号水利工程设计概估算编制规定.doc
- 9《复活》课件(共41张PPT)(含音频+视频).pptx VIP
原创力文档


文档评论(0)