Push notification on android: IBM MQTT

Go To StackoverFlow.com

2

I am very new to android environment and have to set up client side using the (wmqtt.jar) sample application given on http://www-01.ibm.com/support/docview.wss?

I know only about hello world program.

Kindly tell how can I integrate it in my simple android application, step by step.

Thanks and Regards.

2012-04-04 07:16
by user1312150
download this example AndroidPushNotificationsDemo using IBM MQTT see maybe helpfu - ρяσѕρєя K 2012-04-04 07:29


3

There is a good example and run through at http://dalelane.co.uk/blog/?p=1599

I'd also point out that you might be better off with the recently released open source Java client. You can find it at http://git.eclipse.org/c/paho/org.eclipse.paho.mqtt.java.git/ - you should find the licence is much friendlier than for wmqtt.jar.

2012-04-04 07:30
by ralight


1

As Roger says, the best / latest Java client code is that available from the Eclipse Paho project - http://git.eclipse.org/c/paho/org.eclipse.paho.mqtt.java.git/

The IA92 code and wmqtt.jar has a difficult license and does not support some of the latest features like authentication.

In addition, you will find a lot of useful links and information on the mqtt.org wiki http://mqtt.org/wiki/doku.php/mqtt_on_the_android_platform

2012-04-05 11:18
by Andy Piper
Thanks all... Now my mentor is going with C2DM.. - user1312150 2012-05-22 02:50


0

Very good sample code available at http://mosquitto.org/files/examples/android-mqtt-example.zip. Once you understand how it works, you would be able to move to writing your own code.

2012-04-04 18:33
by George Michelson
Ads