How do you check the service in ANDROID APP?

Hello, Inddyhttp service is not started, in the ANDROID APP directly call service interface will be in error, how to get the service did not start the state, the following methods can be found later, but this is the asynchronous method, the following methods are not before invoking the service first, there are other ways for you
(HttpClientChannel) fService.getProxyClientChannel (.SetChannelCallback) (New ClientChannel.IClientChannelCallback) ()

Hello

There is no way to find out that the server is not available (for any reason) other than try to call that server’s method.