Reg:如何在android中访问USB库的api
我使用的是安卓2.2版本。我想在 Android 应用程序中使用 USB 相关的 API。但在 android 2.2 版本中,应用程序框架层中没有 API。它在 3.1 及更高版本的 android 中可用。
但在android源代码中我看到了USB库(API的格式为.c和.h文件)。我是否能够访问android应用程序层中的api。我想使用 USB 设备,例如 Test CDC 类。
例如:如果我想初始化 USB,那么我可以调用 USB.c 中的 USB_init() 函数。这可能吗???任何人请帮助我......
问候 内存
I am using android 2.2 version. I want to use the USB related API's in android application. but in android 2.2 version is not having the API's in the applicaition framework layer.It is available in 3.1 and newer version of android.
but in android source code i have seen libraries for USB (API 's in the format of .c and .h file).whether i can able to access the api in the application layer of the android. I want to use the USB device for example, Test CDC class.
For example : if i want to initalize the USB then i can able to call the USB_init() function which is in the USB.c.. Is this possible???? any one please help me.......
Regards
Ram
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论