Is it possible to disable my android device not to get detected in TV or PC if it is connect开发者_如何学编程ed using USB ports ? I want to do it through programming using java or android.
Thanks, Senthil.M
You will have to write your own firmware. There is no support related to "detected in TV" anywhere in Android itself -- this capability is implemented on a device-by-device basis by different manufacturers. Hence, there is nothing in the SDK to control it, either.
精彩评论