Android application that uses the dadb library.
This example will not work on a device with NAT network which is the default on Android emulators. Therefore you will need to use a physical Android device or an Android emulator that supports bridge network.
Replace address in AndroidScreenViewModel.kt.
private var address = mutableStateOf("192.168.X.XX")
Change refresh parameter in Device.kt.
handler = Dadb.discover(address, keygen(refresh = true))