Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[paho-dev] Paho MQTT on Android - Urgent Help

Need urgent help!!

How can I create a broker on Android?

I am receiving connection refused while creating a broker.
I want to have Android device act as Broker and send data from other devices to the Android device.
Is this the right way?

I did similar thing using python
client = mqtt.Client()
client.connect("127.0.0.1", 1883, 60)

client._on_connect_ = on_connect
client._on_message_ = on_message

client.loop_forever()

I want to do same for Android.
Please refer to open StackOverflow question 


 
Thanks 
Abhinav Tyagi

Back to the top