Android Question MQTT in webview problem

coddy

Member
i'm going to use MQTT socket in a webview but this line not working

mqtt = new Paho.MQTT.Client(host,port,"client");

the code works fine in other browsers but not in webview. i've search for solution and someone said it's because local storage is disabled by default.
how can i enable it in b4a
 

coddy

Member
i downloaded the example on that topic but i don't know how i can set userName and password for socket connection. my server requires them
 
Upvote 0
Top