user1476798
user1476798

Reputation: 11

how to set up android mqtt push server

I install xampp-v9 on Windows7 platform ,android open sql apache ,and install mqtt broker ,sure mqtt service is opened,use mqtt php manager server ,when i run ,just show as follos

Tokudu Android Push Demo Server status: connect(SAM_MQTT, array(SAM_HOST => '127.0.0.1', SAM_PORT => 1883)); if ($result) { $conn->disconnect(); print_r("Online"); } else { print_r("Offline"); } ?>

so why?

Upvotes: 0

Views: 1157

Answers (2)

anon
anon

Reputation:

Exactly where is that status shown? what code have you deployed? have you verified that you can publish/subscribe to mosquitto or rsmb using any other tools e.g. mosquitto_pub?

Have you looked at the MQTT.org wiki about using MQTT with Android? http://mqtt.org/wiki/mqtt_on_the_android_platform

Upvotes: 2

user1476798
user1476798

Reputation: 11

Tokudu Android Push Demo Server status: connect(SAM_MQTT, array(SAM_HOST => '127.0.0.1', SAM_PORT =>1813)); if ($result) { $conn->disconnect(); print_r("Online"); } else { print_r("Offline"); } ?>

above is the issue ,I wan't to use MQTT to push android message

Upvotes: 0

Related Questions