Hello all, I'm back after a long time since my last post here (I was working on another functionnality in may app).
I started installing MQTT based on the Erel's "simple chat UDP" example ... I don't know if this is the good point to start.
I added jMQTT v1.00, jMqttBroker v1.04, ByteConverter v1.10 but when compiling the IDE complains about too old libraries compiled a wrong way (with an old tool), I don't know wich one.
Even with a 120 seconds timeout it is not enough (the error appeared one time only).
Locked at:
B4A Version : 8.50
Analyse du code. (0.12s)
Building folders structure. (0.48s)
Compilation du code. (1.07s)
Compilation du code des layouts. (0.09s)
Organiser les bibliothèques. (6.22s)
Génération du fichier R. (0.95s)
Compilation du code du débogueur. (3.82s)
Compilation du code Java. (5.15s)
Conversion bytes code - dex optimisé. <== locked here or error message sometime
I know there is another library with donation somewhere, maybe better to do the job? Even if I had to pay this is not a problem.
I'll continue to see if I can find some others libs.
I'm almots sure some admin will complain that this post is at the wrong place ... sorry in advance ... I'll move it if so.
Edit: based on Erel's advice I increased the IDE's memory in ini file: MaxRamForDex=4096 but same problem: timeout and this message:
warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.apache.log4j.chainsaw.ControlPanel$3) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
Erel's app compiled with success. Here are my used libs:
Edit2: After removing my no more used old BluetoothManager class it is working.
Sorry for any disturbance guys ...