MQTT on Android: connection lost
问题 I'm trying to use an MQTT client on Android application but I cannot get it working. My MQTT client is 0.4.0 and my Android is 4.0.3. The app is very simple: it has an EditText and a button to publish the text. Further it has a TextView to show the received message. Every time is click on the "Publish" button, the "connection lost" message is shown, sometimes two or three times, as it tried to connect multiple times and then disconnected. Also, without clicking on the button, if I try to