Specify appropriate creation parameters, connection parameters, synchronization parameters, protocol options, method calls, and deployment files to ensure that your UltraLiteJ application runs successfully on Android smartphones.
Prérequis
There are no prerequisites for this task.
Add the following files to your Android project:
%SQLANY16%\UltraLite\UltraLiteJ\Android\UltraLiteJNI16.jar
%SQLANY16%\UltraLite\UltraLiteJ\Android\ARM\libultralitej16.so
Specify the following parameters:
When using obfuscation, set the creation parameter obfuscate=1 while creating the database.
When using AES encryption, set the connection parameter DBKEY=encryption-key while creating or connecting to the database.
To set these parameters, use the setCreationString and setConnectionString methods.
Set the appropriate parameter settings when using synchronization in your UltraLite application:
Synchronization type | Parameter settings |
---|---|
TCP/IP |
Set the Stream synchronization parameter to "tcpip". |
HTTP |
Set the Stream synchronization parameter to "http". |
RSA TLS |
Set the Stream synchronization parameter to "tls". |
RSA HTTPS |
Set the Stream synchronization parameter to "https". |
When using RSA end-to-end encryption (RSA E2EE), set the protocol option e2ee_public_key=key-file.
When using ZLIB compression, set the protocol option compression=zlib.
When using AES encryption, call the ConfigPersistent.EnableAesDBEncryption method.
When using RSA TLS, RSA HTTPS, or RSA E2EE, deploy %SQLANY16%\UltraLite\UltraLiteJ\Android\ARM\libmlcrsa16.so.
![]() |
Discuter à propos de cette page dans DocCommentXchange.
|
Copyright © 2013, SAP AG ou société affiliée SAP - SAP Sybase SQL Anywhere 16.0 |