1. 首页
  2. 移动开发
  3. Android
  4. Android应用程序的运行-android系统简介

Android应用程序的运行-android系统简介

上传者: 2024-07-06 00:21:28上传 PPT文件 1.96MB 热度 7次
Android应用程序的运行Android是基于Linux系统建立起来的,不管Activity,Service等组件如何设计和运行,必须要依附在Linux的进程上,建立消息循环,组件才能够真正的运作。 Android SDK对android:process的解释: The name of a process where all components of the application should run. Each component can override this default by setting its own process attribute. By default, Android creates a process for an application when the first of its components needs to run. All components then run in that process. The name of the default process matches the package name set by the element. By setting this attribute to a process name that's shared with another application, you can arrange for components of both applications to run in the same process — but only if the two applications also share a user ID and be signed with the same certificate.
下载地址
用户评论