找回密码
 立即注册
Service服务theServices | android开发 2022-10-28 58 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
服务(Service)是Android系统中4个使用程序组件之一(别的的组件详见3.2节的内容)。服务首要关于两个意图:后台运行和跨进程访问。通过启动一个服务,可以在不显示界面的条件下在后台运行指定的任务,这样可以不影响用户做别的办公。通过AIDL服务可以实现不同进程之间的通信,这也是服务的主要用途之一。本章内容Service的生命周期绑定Activity和Service在BroadcastReceiver中启动Service系统服务时间服务在线程中更新GUI组件AIDL服务在AIDL服务中传递杂乱的数据
Android服务Service_详解.doc

(Service is one of the four application components in the Android system (see Section 3.2 for other components). Services are primarily about two purposes: background running and cross process access. By starting a service, you can run the specified task in the background without displaying the interface. This does not affect the user's other work. AIDL service can realize communication between different processes, which is also one of the main purposes of the service. This chapter describes the life cycle of services. Bind activities and services. Start the service system in the BroadcastReceiver. Service time. Update GUI components in threads. AIDL services. Transfer messy data in AIDL services
Android Service_ Detail.doc)

[下载]16495795103.rar




上一篇:Android面试题和答案(涵盖四大组建、体系框架等)
下一篇:Android中文API—android.widget合集