Can we deploy a Moquette/Mosquitto broker inside Android for MQTT client communication?
I want to deploy a Moquette/Mosquitto broker inside Android and one MQTT client will communicate to another using that broker.
Theoretical speaking, yes you can because Moquette is a java based broker, and Android uses java SDK, but practically, that should not ever be made.
You would need a mqtt client, which in your case, a Java client, such as paho client, and the broker should be running on a real server
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With