Java2OP
D:\Program Files (x86)\Embarcadero\Studio\18.0\bin\converters\java2op\Java2OP.exe
Java2OP.exe ("Java To Object Pascal") is a command-line tool that you can use to generate Object Pascal native bridge files from Java libraries (JAR or class files). You can use the generated files to provide your applications access to those Java libraries on Android.
这是一个命令行程序,生成原生桥接文件.
所谓“原生桥接文件”,即JAR文件的定义文件,说明了存在JAR库文件里的类、类型、函数等,相当于Windows系统下的dll文件和hpp文件,原生桥接文件只是进行说明定义,具体的实现功能代码仍然在JAR文件里。
http://cc.embarcadero.com/item/30007
http://cc.embarcadero.com/Item/30326 使用方法:
http://docwiki.embarcadero.com/RADStudio/Berlin/en/Java2OP.exe,_the_Native_Bridge_File_Generator_for_Android