I have a problem with MQTT.
I have a problem with the Android MQTT.
I have followed this (http://tokudu.com/2010/how-to-implement-push-notifications-for-android/) demo and was able to run this source code. However, I always receive a message that I am unable to connect to the server. Is there something wrong with the MQTT he has or is there something wrong with my connection?
I don’ t know where you run your broker, but in case your MQTT broker is running on your development machine, you can’ t connect it via localhost or 127.0.0.1 because “the” localhost is actually your phone or emulator in that case. Instead, you need to give your local IP to connect this MQTT broker. (ipconfig for Windows, ifconfig for linux command-line)