Android Question B4A IDE - jMQTT library apparently missing

rabbitBUSH

Well-Known Member
Licensed User
In 2015 Erel said.......

I have just upgraded to B4A 13.1, and am looking at code picked from a forum thread which utilises MQTT. There are three components to the project I am looking at: B4R, B4J and B4A, supplied by its creator.

When each component is loaded into the relevant IDE, the B4J Library Manager shows jMQTT as present, the B4R Library Manager, similarly, shows rMQTT as present. But the B4A Library Manager does NOT show any MQTT library as available.

When I loaded the B4A code into its IDE a popup declared the library jMQTT is missing, and the variable Private MQTT As MqttClient shows MQTT in red.

So,
1. either the relevant library has been inadvertently omitted from the CORE of the B4A IDE; or,
2. should I just copy the jMQTT library from the B4J zone into the B4a ZONE?

Quo vadis.....[but - maybe I've answered my own question???]
 
Last edited:

Brian Dean

Well-Known Member
Licensed User
Longtime User
A quick and maybe incomplete answer - I am also using B4A 13.1, I am working on an MQTT project and I have a jMQTT library. I am trying to remember how it got there but I rarely use libraries that are not part of the base B4A installation.
 
Upvote 0

mcqueccu

Well-Known Member
Licensed User
Longtime User
This is the Library and as written by Erel, the B4J version is compatible with B4A


 
Last edited:
Upvote 0

rabbitBUSH

Well-Known Member
Licensed User
This is the Library and as written by Erel, the B4J version is compatible with B4A
Thanks @mcqueccu, I did see those along my path.

The mystery came when that library didn't show up in B4A LM. I honestly don't know if it was there in 13.0 or previously. I last looked at MQTT stuff a while ago but didn't pursue the project line at the time.

Since I had only just updated to 13.1 and then immediately loaded the codes - my guess is that it is omitted from B4A; and, one has to copy it from B4J side as noted by @walt61 in #3.

Maybe @Erel will shed light.......
 
Upvote 0

rabbitBUSH

Well-Known Member
Licensed User
I am trying to remember how it got there
Would I be in a mistaken assumption that age is a terrible thing?

I don't know - do updates overwrite everything, or, are the existing libraries preserved? Knowing Erel's work probably the second, so, it seems you inserted it earlier, or, Erel had a bad-split-second.
 
Upvote 0

Brian Dean

Well-Known Member
Licensed User
Longtime User
Would I be in a mistaken assumption that age is a terrible thing?
I certainly have had time to accumulate a large amount of material that is worth remembering. I suppose that I must be prepared for some of it to slip away.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…