Zip Component, Email Component, Encryption Component ActiveX Control for Zip Compression .NET Components for ASP.NET
ActiveX and .NET Components for Zip Compression, Encryption, Email, XML, S/MIME, HTML Email, Character Encoding, Digital Certificates, FTP, and more ASP Email ActiveX Component

  

  

  

  

  

 

Chilkat for Android™ Library Download and Install Instructions

Step 1: Download and Unzip to any Directory

Chilkat for Android™ Java Library

v9.3.0 • 20-Jan-2012

The Chilkat-9.3.0-Android.zip contains many smaller zip archives that are single-product builds as well as the complete Chilkat build. You should choose one to use in your project. The single-product builds are provided because the size of the shared library (libchilkat.so) for the complete build is approx. 5MB. A single-product build provides a smaller shared library.

The following builds are packaged within the main download:

Build Name

Internal Zip

Shared Library

Description

Chilkat Complete

ChilkatComplete.zip

libchilkat.so

Contains all Chilkat Java classes listed here.
Note: Some Chilkat classes are only available in the complete build.

Crypt Only

CryptOnly.zip

libchilkatcrypt.so

Contains CkCrypt2, CkCert, CkPrivateKey, CkPublicKey, CkString, CkByteData

Email Only

EmailOnly.zip

libchilkatemail.so

Contains CkImap, CkMailMan, CkEmail, CkEmailBundle, CkMessageSet, CkMailboxes, CkCert, CkCertStore, CkPrivateKey, CkStringArray, CkString, CkByteData

FTP Only

FtpOnly.zip

libchilkatftp.so

Contains CkFtp2, CkCert, CkString, CkByteData

GZip Only

GzipOnly.zip

libchilkatgzip.so

Contains CkGzip, CkStringArray, CkString, CkByteData

HTTP Only

HttpOnly.zip

libchilkathttp.so

Contains CkHttp, CkHttpRequest, CkHttpResponse, CkCert, CkPrivateKey, CkString, CkByteData

RSA Only

RsaOnly.zip

libchilkatrsa.so

Contains CkRsa, CkPrivateKey, CkPublicKey, CkString, CkByteData

SFTP Only

SftpOnly.zip

libchilkatsftp.so

Contains CkSFtp, CkSFtpDir, CkSFtpFile, CkSshKey, CkString, CkByteData

Socket Only

SocketOnly.zip

libchilkatsocket.so

Contains CkSocket, CkCert, CkString, CkByteData

SSH Only

SshOnly.zip

libchilkatssh.so

Contains CkSsh, CkSshKey, CkString, CkByteData

TAR Only

TarOnly.zip

libchilkattar.so

Contains CkTar, CkString, CkByteData

XML Only

XmlOnly.zip

libchilkatxml.so

Contains CkXml, CkStringArray, CkString, CkByteData

Zip Only

ZipOnly.zip

libchilkatzip.so

Contains CkZip, CkZipEntry, CkStringArray, CkZipCrc, CkString, CkByteData

Step 2: Choose a Build and Unzip in your Project Directory

Copy either ChilkatComplete.zip or one of the single-product builds to your project directory. (This is the directory that contains other sub-directories named "src", "res", "assets", "gen", etc.)

Unzip. None of your existing project files will be overwritten. Unzipping will create .java files in the "src/com/chilkatsoft" subdirectory. It will also create a shared library (.so) in "libs/armeabi".

Step 3: Add Chilkat-related Code to your Source and Rebuild the Project

The Chilkat-related code is shown in boldface below. The Chilkat shared library must be loaded via System.loadLibrary when your application starts.

package com.test;

import android.app.Activity;
import com.chilkatsoft.*;

import android.widget.TextView;
import android.os.Bundle;

public class SimpleActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        TextView tv = new TextView(this);
        
        CkCrypt2 crypt = new CkCrypt2();
        
        // Display the version of the CkCrypt2 class
        tv.setText(crypt.version());
      	
        setContentView(tv);
    }
    
    
    static {
        // IMPORTANT: The name of the library depends on which Chilkat build is used.
        // If using the complete build, call System.loadLibrary("chilkat").
        // This example uses the Crypt-only build:
        
        System.loadLibrary("chilkatcrypt");
    }
    
}

Additional Notes

  • The Chilkat Android library supports Android Platform 2.0 (API Level 5) and above. Chilkat has been tested on Honeycomb (Android 3.0, API Level 11). The Chilkat library should be compatible with future versions of Android.
  • If the incorrect library name is passed to System.loadLibrary, then you will see the following error message at application startup: "The application <your-application-name> has stopped unexpectedly. Please try again."


Privacy Statement. Copyright 2000-2012 Chilkat Software, Inc. All rights reserved.

(Regarding the usage of the Android logo) Portions of this page are reproduced from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.

Send feedback to support@chilkatsoft.com


Software components and libraries for Linux, MAC OS X, IOS (IPhone), Android™, Solaris, RHEL/CentOS
Microsoft Windows 7, Vista, XP, 2000, 2003 Server, 2008 Server, and Windows 95/98/NT4.