How Do I Setup A Android Mqtt Project Using Ia92 Wmqtt.jar?
I have been trying to implement an MQTT service using wmqtt.jar. Like most folks I started with looking at other peoples examples. I found several references to Dale Lane's post h
Solution 1:
I'd recommend that you use the Paho Java client library available from http://git.eclipse.org/c/paho/org.eclipse.paho.mqtt.java.git/ It's not the same code base as ia92 but the licence is much friendlier.
ia92 is no longer developed or supported, as mentioned on http://mqtt.org/software
Solution 2:
Make sure you copy the wmqtt.jar and any libraries it might require into your libs directory. Then rebuild it and push it to your emulator.
Missing jar files are a big reason that class def not found exceptions happen.
Solution 3:
Using eclipse? find the jar in your package explorer, right click it, then choose "Build Path" => "Add To Build path". try again?
Post a Comment for "How Do I Setup A Android Mqtt Project Using Ia92 Wmqtt.jar?"