I'm trying to connect an FTDI FT2232H to an Android application using the Java class library that FTDI provides, which does not require root access.
Is there a way to use VCP through this package, rather than the old-style native driver route? Or, if not, is there a way to emulate a VCP interface through it (or is it possible at all to roll my own solution?) I'm finding the official docs a bit lacking, as they encourage using the Java lib over the native one, but don't explain whether or not it provides full feature parity.
Yes, you can use VCP through D2XX driver. Take a look at Java D2xx for Android API User Manual (also at C/C++ Software Application Development D2XX Programmer's Guide and FTD2XX Programmer’s Guide Version 2.01 documents), Official Android D2XX Example Source code especially at
FT2232HTestFragment.java
class from it:and examples like that (by Keisuke SUZUKI).