You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 3, 2024. It is now read-only.
I also tried JmDNSDriver but thats results in the following error W/art: Failed to open zip archive '/system/framework/qcom.fmradio.jar': I/O Error
val rxBonjour = RxBonjour.Builder()
.platform(AndroidPlatform.create(this))
.driver(NsdManagerDriver.create(this))
.create()
val nsdDisposable = rxBonjour.newDiscovery("_octoprint._tcp")
.subscribeOn(Schedulers.io())
.observeOn(AndroidSchedulers.mainThread())
.subscribe(
{ event ->
when(event) {
is BonjourEvent.Added -> println("Resolved Service: ${event.service}")
is BonjourEvent.Removed -> println("Lost Service: ${event.service}")
}
},
{ error -> println("Error during Discovery: ${error.message}") }
)
com.robo3d E/AndroidRuntime: FATAL EXCEPTION: NsdManager
Process: com.robo3d, PID: 10842
kotlin.KotlinNullPointerException
at de.mannodermaus.rxbonjour.BonjourService.<init>(Models.kt:27)
at de.mannodermaus.rxbonjour.drivers.nsdmanager.ExtensionsKt.toLibraryModel(Extensions.kt:36)
at de.mannodermaus.rxbonjour.drivers.nsdmanager.NsdManagerDiscoveryEngine$NsdDiscoveryListener.onServiceLost(NsdManagerDiscoveryEngine.kt:61)
at android.net.nsd.NsdManager$ServiceHandler.handleMessage(NsdManager.java:336)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.os.HandlerThread.run(HandlerThread.java:61)
I have the below code in a background service.
I also tried JmDNSDriver but thats results in the following error
W/art: Failed to open zip archive '/system/framework/qcom.fmradio.jar': I/O Error