not be propagated to the calling application.► All IPC calls are synchronous. If you know that the process is likely to be time-consuming, you should consider wrapping the synchronous call in an asynchronous wrapper or moving the processing on the receiver side onto a background thread.With the functionality implemented, you need to expose this interface to client applications. Expose the IPC-enabled Service interface by overriding the onBind method within your Service implementa¬tion to return an instance of the interface. Listing 18-17 demonstrates the onBind implementation for the EarthquakeUpdateService.
đang được dịch, vui lòng đợi..