Closed zhubinsheng closed 1 year ago
Hi. You're not wrong. This project already has a minSdkVersion that's >= 16, so NsdManager
should work.
Trouble is.. I've never tried it. In my experience, things rarely work off the shelf, as advertised. So, at least for now, I'm learning in the direction of: if it ain't broken..
As with all things open-source with a copy-left GPL, feel free to fork and experiment.
NsdManager nsdManager = (NsdManager) getSystemService(NSD_SERVICE);