Android: USB Communication Android <-> External Device

后端 未结 3 1551
醉梦人生
醉梦人生 2021-02-10 02:55

I found several threads speacking about this subject, but after read them I don\'t have a clear idea about my problem.

We have a external device (something like a tomtom

3条回答
  •  眼角桃花
    2021-02-10 03:35

    Currently the adb interface is one way. Flow is controlled by the host PC using adb. Looking at your requirement, looks like you might need to open up the source code, re-tune the USB driver to allow communication both ways. After that, you will need to design your very own API that allows an application to send messages via USB. This will require a lot of work as the current Android model does not support it.

提交回复
热议问题