What API support is there to identify RNDIS support on a device?
If that question is better answered somewhere else, then maybe a better question is how would a developer programmatically determine the user has a tactical device? I’m trying to do this in an application.
Android’s NetworkInterface can be used to access “enabled” interfaces but if
rndis is not enabled in USB configuration, it does not appear in the enumeration.
Enumeration<NetworkInterface> enifs = NetworkInterface.getNetworkInterfaces();
rndis is enabled, this will return the NetworkInterface.
NetworkInterface rndis_i = NetworkInterface.getByName("rndis0");