上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 34 下一页
摘要: Forcing an app chooser When there is more than one app that responds to your implicit intent, the user can select which app to use and make that app t 阅读全文
posted @ 2016-09-25 08:19 f9q 阅读(207) 评论(0) 推荐(0) 编辑
摘要: Building an Intent An Intent object carries information that the Android system uses to determine which component to start (such as the exact componen 阅读全文
posted @ 2016-09-24 22:45 f9q 阅读(282) 评论(0) 推荐(0) 编辑
摘要: Intent Types There are two types of intents: Explicit intents specify the component to start by name (the fully-qualified class name). You'll typicall 阅读全文
posted @ 2016-09-24 22:42 f9q 阅读(425) 评论(0) 推荐(0) 编辑
摘要: Intents An Intent is a messaging object you can use to request an action from another app component. Although intents facilitate communication between 阅读全文
posted @ 2016-09-24 22:24 f9q 阅读(258) 评论(0) 推荐(0) 编辑
摘要: Android Interface Definition Language (AIDL) 1.In this document Defining an AIDL Interface Create the .aidl file Implement the interface Expose the in 阅读全文
posted @ 2016-09-23 22:02 f9q 阅读(359) 评论(0) 推荐(0) 编辑
摘要: 1.绑定服务的生命期 官方原文如下: Managing the Lifecycle of a Bound Service When a service is unbound from all clients, the Android system destroys it (unless it was 阅读全文
posted @ 2016-09-23 17:09 f9q 阅读(1269) 评论(0) 推荐(0) 编辑
摘要: Binding to a Service Application components (clients) can bind to a service by calling bindService(). The Android system then calls the service's onBi 阅读全文
posted @ 2016-09-23 17:06 f9q 阅读(259) 评论(0) 推荐(0) 编辑
摘要: Compared to AIDL When you need to perform IPC, using a Messenger for your interface is simpler than implementing it with AIDL, because Messenger queue 阅读全文
posted @ 2016-09-23 16:49 f9q 阅读(241) 评论(0) 推荐(0) 编辑
摘要: Extending the Binder class If your service is used only by the local application and does not need to work across processes, then you can implement yo 阅读全文
posted @ 2016-09-23 15:09 f9q 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 1.Bound Services A bound service is the server in a client-server interface. A bound service allows components (such as activities) to bind to the ser 阅读全文
posted @ 2016-09-23 14:29 f9q 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 1.Sending Notifications to the User (发送通知) Once running, a service can notify the user of events using Toast Notifications or Status Bar Notifications 阅读全文
posted @ 2016-09-23 12:03 f9q 阅读(505) 评论(0) 推荐(0) 编辑
摘要: Managing the Lifecycle of a Service The lifecycle of a service is much simpler than that of an activity. However, it's even more important that you pa 阅读全文
posted @ 2016-09-22 23:47 f9q 阅读(506) 评论(0) 推荐(0) 编辑
摘要: Bound Services 1.In this document The Basics Creating a Bound Service Extending the Binder class Using a Messenger Binding to a Service Additional not 阅读全文
posted @ 2016-09-22 23:09 f9q 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 1.Creating a Started Service A started service is one that another component starts by calling startService(), resulting in a call to the service's on 阅读全文
posted @ 2016-09-22 16:32 f9q 阅读(503) 评论(0) 推荐(0) 编辑
摘要: Services 简介和分类 A Service is an application component that can perform long-running operations in the background and does not provide a user interface. 阅读全文
posted @ 2016-09-22 15:55 f9q 阅读(404) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 34 下一页