Usage
-----
To use this tool, simply call the tool with any combination of options that you like:
Java2OP.exe [options]
You must specify at least one input option that indicates what content you want to
include in the output Delphi native bridge file.
Your output native bridge file does not include members that are part of the built-in RAD
Studio Java libraries for Android unless you explicitly specify those members using the
-classes parameter. If any of the classes that you specified depend on members from the
built-in RAD Studio Java libraries for Android, the resulting native bridge file does not
redeclare those members; instead, it includes the RAD Studio units that already declare
those members.
Input Options
-------------
-classes Space-separated list of names of classes or packages to export. -classes lets
you define a specific subset of the specified Java sources (-jar or -source options)
or the Android API.
-jar Space-separated list of input Java compiled libraries (.jar files).
-source Space-separated list of input folders containing Java source files (.java files).
Output Options
--------------
-unit File name of the output unit.
Default: Android.JNI.Interfaces
Examples
--------
Exporting some classes and packages from the Android API:
Java2OP.exe -classes android.net.ConnectivityManager android.location.*
Exporting all classes from mylib.jar:
Java2OP.exe -jar mylib.jar
Exporting a single class from mylib.jar:
Java2OP.exe -jar mylib.jar -classes com.mypackage.ClassName
Exporting all the classes from a folder of Java sources specifying the file name of the
output Delphi unit:
Java2OP.exe -source myproject/src -unit Android.JNI.UnitName
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
java2op_XE10.rar (8个子文件)
java2op_XE10
bootclasses.jar 22.84MB
jar.log 10KB
cache.txt 779KB
README.txt 2KB
Java2OP.exe 1.88MB
doclava.jar 2.76MB
templates
default.inc 184B
bootclasses.xml 12.64MB
共 8 条
- 1
资源评论
esunzsq
- 粉丝: 1
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功