florent37 / Wear-Emmet

Emmet is an protocol based data-transfer for Android Wear
http://florent37.github.io/Emmet
Apache License 2.0
41 stars 11 forks source link

Adding ability to subscribe for onConnected event #3

Closed andkulikov closed 9 years ago

andkulikov commented 9 years ago

Hello! Thanks for useful library!

Why are waitingItems exists only for datamaps? I just want to send simple message to wear from smartphone right after onConnected will be called. Also i think it will be useful to be able adding listener to Emmet for events onConnected and onConnectionFailed. With this it will be able to solve first problem with putting sendMessage call in onConnected callback.

And i can help you with this functionality if you want or if you haven't free time for this.

florent37 commented 9 years ago

it's just a forget, It would be nice to add a list with waitings messages yes. And why not a listener/callback to be informed witch events onConnected & onConnectionFailed

Yes, you can help me if you want, it would be super cool :+1:

andkulikov commented 9 years ago

fix already merged. thanks)