Is Wearablelistenerservice Better Than Service With Data And Message Listeners?
I have connected my application to Android Wear's Wearable Data Layer with a service that implements DataApi.DataListener, and MessageApi.MessageListener. This service allows me bi
Solution 1:
Your implementation of WearableListenerService will be invoked by the system when there is a message, data layer changes, etc for your app and it terminates relatively quickly when its job is done (shortly after you leave the scope) so the main advantage of using that is you don't have to have a long-running background service (which kills resources and battery) to listen to possible incoming data for your app.
Post a Comment for "Is Wearablelistenerservice Better Than Service With Data And Message Listeners?"