bytehala / android-mqtt-quickstart

Android Studio port of the Eclipse paho MQTT sample project.
149 stars 62 forks source link

WEAR OS IMPLEMENT #6

Open stramari opened 4 years ago

stramari commented 4 years ago

Hi, sorry, maybe this is not the right section ... I tried your project on my Xiaomi note 5 mobile and it works very well. I recently carried out an IOT project with arduino for opening an electric gate via a WiFi relay card that uses an integrated ESP8266 programmed with arduino and controlled via the MQTT protocol. I also tried to make a small android app that uses the PAHO library and now I wanted to try to do something through my huawei watch 2 smartwatch with Wear OS 2.0. I tried to do something but even if there are no compilation errors (Android Studio), it doesn't want to know how to work. I wanted to ask you if you planned something for Wear OS ... Thanks a lot.

bytehala commented 4 years ago

Hey, that's an interesting idea, but I'm guessing Wear OS is a stripped down version of Android and doesn't really have the libraries used by Eclipse Paho MQTT (just an example, Services are discouraged in Wear OS, but Alarms are used instead). I'm not an expert at it, but that's what I understand. You can have a full Android app controlled by a WearOS device though, and that's a good start.