Skip to content

Instantly share code, notes, and snippets.

View grote's full-sized avatar

Torsten Grote grote

View GitHub Profile
@grote
grote / MainActivity.kt
Created November 4, 2021 12:54
Simple test app to test mDNS discovery on Android
class MainActivity : AppCompatActivity() {
private val TAG = "TEST"
private val SERVICE_TYPE = "_googlecast._tcp."
private val mServiceName = "_googlecast._tcp."
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)

Keybase proof

I hereby claim:

  • I am grote on github.
  • I am grote (https://keybase.io/grote) on keybase.
  • I have a public key whose fingerprint is 7251 9DA2 D8BD 6F38 D4A1 199E 74DC A8A3 6C52 F833

To claim this, I am signing this object: