Brian Frost
Brian Frost

Reputation: 13454

Has anyone got an example of Delphi's Android access to the USB class?

I am creating a Delphi XE5 Android app that will ultimately talk to a small micro via a USB connection (possibly using HID but this is open yet). I have a Delphi-generated working app now using XE5, running on a Nexus tablet and I need to start on the USB side of things. There is a lot of information out there about Android and USB and I see that the java class is android.hardware.usb. Delphi already imports the camera class from android.hardware but I know little about how to start my own class to import the USB stuff. There is some information here that hints of some work by one developer but no example. I'm happy with block transfers but I need to get a start with translating the class. Can anyone help?

Upvotes: 4

Views: 1511

Answers (1)

chuacw
chuacw

Reputation: 1863

I don't have an example of Delphi's Android access to the USB class, but I would like to point you a commercial application, Android 2 Delphi Import Tool which can generate Delphi import units to any Android classes.

Upvotes: 3

Related Questions