[Android] Chapter 4 Service binding-This Chapter provides an example of the main interface, androidmodules
Category: C #, Android, VS2015;
Created on: 1. Introduction
Through Bound Services, you can easily interact with background Services and interfaces (UIS.
Ii. Main Interface of this Chapter
1. Run
2. The code in the MainActivity. cs File
ChItems. add (new Chapter () {ChapterName = "Chapter 17th Service binding", ChapterItems = new ChItem [] {new ChItem {type = typeof (ch1701BindingActivity ), title = "example 17-1 binding to LocalService", Desc = "demonstrate basic usage of binding to Local Service"}, new ChItem {type = typeof (ch1702MainActivity ), title = "example 17-2 bind to StartedService", Desc = "demonstrate basic usage of binding to Started Service"}, new ChItem {type = typeof (ch1703MainActivity ), title = "example 17-3 bind to IntentService", Desc = "demonstrate basic usage of binding to IntentService"}, new ChItem {type = typeof (ch1704MainActivity ), title = "example 17-4 using Messenger to implement inter-process communication", Desc = "demonstrate the basic usage of using Messenger to implement inter-process message communication "},}});