Access to UsbManagers setCurrentFunction() in Android?

China☆狼群 提交于 2019-12-11 14:28:51

问题


I can't seem to gain access to this function, it should allow me to set the usb mode on my device programatically (which is what I'm trying to do).

I can import the package where it is supposed to be, but it isn't available.

I know it exists as there are apps that use the function all over the place! its just my eclipse/ build environment can't find the damned thing.

来源:https://stackoverflow.com/questions/13432694/access-to-usbmanagers-setcurrentfunction-in-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!