Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
创建 FileTransfer 对象,以便将文件传入或传出 MobiLink。
FileTransfer DatabaseManager.createFileTransferAndroid( android.content.Context context, String fileName, int streamType, String userName, String version ) throws ULjException
context 来自 Android 应用程序的 Context 对象。此参数不得为空值。
fileName 要传输的服务器文件的名称。此参数不得包含任何路径信息。
streamType 在 SyncParms 类中定义的一个常量,用于标识通信流的类型。
userName MobiLink 用户名。
version MobiLink 脚本版本。
FileTransfer 对象。
建议将本方法用于 Android。如果尚未通过 createConfigurationFileAndroid 方法创建数据库连接,则必须使用本方法。