How to make a usb connection within an android app

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-22 00:29:32

问题


has anyone an idea how to make an usb-connection in an android ap to a Desktop Applicaktion? some data has to be synced when the device is connected via USB... - by workflow this may not be done over the air :(


回答1:


USB is not part of the APIs exposed by the Android SDK, sorry.




回答2:


With the release of android 3.2 this has been changed - USB becomes supported :) Link: Android SDK USB handling changed



来源:https://stackoverflow.com/questions/5855024/how-to-make-a-usb-connection-within-an-android-app

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