Android Process 详解
来源:互联网 发布:fifaonline316普卡数据 编辑:程序博客网 时间:2024/06/06 02:51
轉載自http://blog.csdn.net/liuhaomatou/article/details/22445755
android:process
The name of the proces s where the service is to run. Normally, all components of an application run in the default process created for the application. It has the same name as the application package. The <application> element's process attribute can set a different default for all components. But component can override the default with its own process attribute, allowing you to spread your application across multiple processes.
If the name assigned to this attribute begins with a colon (':'), a new process, private to the application, is created when it's needed and the service runs in that process. If the process name begins with a lowercase character, the service will run in a global process of that name, provided that it has permission to do so. This allows components in different applications to share a process, reducing resource usage.
也就是说android:process=":remote",代表在应用程序里,当需要该service时,会自动创建新的进程。而如果是android:process="remote",没有“:”分号的,则创建全局进程,不同的应用程序共享该进程。
- Android Process 详解
- Android Process 详解
- Android Process 详解
- Android Process 详解
- Android Process 详解
- Android Process 详解
- Android Process 详解
- Android process
- Android process
- android:process
- Android process
- Android process
- Android应用开发:Manifest文件节点andoird:process属性详解
- 【Oracle】详解v$process
- Talking about Android Process
- Android Initialization Process
- Talking about Android process
- Android Initialization Process
- linux kill进程组的两种方法
- 实时数据
- PHP获取接口数据(模拟Get)
- realplayer播放器下载 | RealPlayer HD 2016 (realplayer播放器) 官方版V16.0.6.4下载
- KBEngine登陆模块login
- Android Process 详解
- 沉浸式状态栏
- css3渐变、线性渐变和径向渐变
- Android 解决原生app与h5联合登陆的问题
- 全同态加密(2)
- Codeforce 500c New Year Book Reading
- 【代码分享】特征工程中 分类变量 映射成 数字
- jQuery全屏滚动插件fullPage.js
- Mysql索引总结