I'm using the Paho Android Client. https://eclipse.org/paho/clients/java/
This is probably THE go to library for MQTT on Android, yet it doesn't support secure MQTT websockets (wss://), giving me IllegalArgument exceptions for the server uri.
I have been looking for a solution to connect to my MQTT websocket which has a wss:// path scheme, and so far there's only one library: https://github.com/inventit/mqtt-websocket-java
Which also doesn't work! I'm getting Jetty SSL exceptions.
If you have an implementation you've used before, please share them with me, this has taken a lot of my time, and I'm still clueless, thanks!
For both libraries, I've tried using the sample code they offer in their documentations.