Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
从 Android 设备上的文件为物理数据库存储区创建 Configuration 对象并返回 ConfigFileAndroid 对象。
ConfigFileAndroid DatabaseManager.createConfigurationFileAndroid( String file_name, android.content.Context context ) throws ULjException
file_name 待使用或创建的文件名。
context 来自 Android 应用程序的 Context 对象。
用于配置数据库的 ConfigFileAndroid 对象。
在以下两种情况下,必须使用此方法,并用此方法提供非空 Context 对象:
file_name 参数不是数据库文件的绝对路径
应用程序为数据同步使用 HTTPS 协议