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

Downloads

* Scroll down to see "Getting Started" instructions located below the download links.

(For Chilkat C/C++ Android native libs, click HERE.)

v9.5.0.46 05-Dec-2014MD5 Sum: 874818732f76a626b744359f520a0c18
Chilkat for Android™ Java Library (ALL Classes)

v9.5.0.46 05-Dec-2014MD5 Sum: aecc9a9aa8096c158e315a1aa2e95097
Chilkat for Android™ Java Library (Crypt-Only)

v9.5.0.46 05-Dec-2014MD5 Sum: 254678de6b1b8c1355d4294c1b043497
Chilkat for Android™ Java Library (Email-Only)

v9.5.0.46 05-Dec-2014MD5 Sum: 26fb7f55c98c1cc9187d1fea462c9329
Chilkat for Android™ Java Library (FTP-Only)

v9.5.0.46 05-Dec-2014MD5 Sum: 04b6408689fcb50e29988d0ae20a6ebe
Chilkat for Android™ Java Library (GZIP-Only)

v9.5.0.46 05-Dec-2014MD5 Sum: a2b36dfacaf08b51e6a6b29355b31dcb
Chilkat for Android™ Java Library (HTTP-Only)

v9.5.0.46 05-Dec-2014MD5 Sum: 64e9a0ee0f16b2df7b8dd28ea3d701f4
Chilkat for Android™ Java Library (RSA-Only)

v9.5.0.46 05-Dec-2014MD5 Sum: 799c2f26807fbfbcfd67e46705c72712
Chilkat for Android™ Java Library (SFTP-Only)

v9.5.0.46 05-Dec-2014MD5 Sum: 7895423df1d6644cc493cd2007be6d15
Chilkat for Android™ Java Library (Socket-Only)

v9.5.0.46 05-Dec-2014MD5 Sum: e44d556396e218e94ead4132b8e3e246
Chilkat for Android™ Java Library (SSH-Only)

v9.5.0.46 05-Dec-2014MD5 Sum: a4ca6920b1c63c94f5e122ba918ad681
Chilkat for Android™ Java Library (TAR-Only)

v9.5.0.46 05-Dec-2014MD5 Sum: 6e062d82dac28181f0d133a61249b94a
Chilkat for Android™ Java Library (XML-Only)

v9.5.0.46 05-Dec-2014MD5 Sum: f8e20d7600c84916f3100aaf43d684b4
Chilkat for Android™ Java Library (XMP-Only)

v9.5.0.46 05-Dec-2014MD5 Sum: 2261c5b3feaa8d475eddacb6679cdfbe
Chilkat for Android™ Java Library (Zip-Only)

The downloads contain the following:

Build Name

Shared Library

Description

Chilkat ALL

libchilkat.so

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

Crypt Only

libchilkatcrypt.so

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

Email Only

libchilkatemail.so

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

FTP Only

libchilkatftp.so

Contains CkFtp2, CkCert, CkString, CkByteData

GZip Only

libchilkatgzip.so

Contains CkGzip, CkStringArray, CkString, CkByteData

HTTP Only

libchilkathttp.so

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

RSA Only

libchilkatrsa.so

Contains CkRsa, CkPrivateKey, CkPublicKey, CkString, CkByteData

SFTP Only

libchilkatsftp.so

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

Socket Only

libchilkatsocket.so

Contains CkSocket, CkCert, CkString, CkByteData

SSH Only

libchilkatssh.so

Contains CkSsh, CkSshKey, CkString, CkByteData

TAR Only

libchilkattar.so

Contains CkTar, CkString, CkByteData

XML Only

libchilkatxml.so

Contains CkXml, CkStringArray, CkString, CkByteData

Zip Only

libchilkatzip.so

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

Step 1: Download and Unzip in your Project Directory

An Android project directory is the one 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 shared libraries (.so) in

  • libs/armeabi
  • libs/armeabi-v7a
  • lib/mips
  • lib/x86

Step 2: 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-2014 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, HP-UX, RHEL/CentOS, FreeBSD
Windows 8, Windows Server 2012, Windows 7, Vista, XP, 2000, 2003 Server, 2008 Server, etc.