SQLite Android Bindings

Check-in [49c7a766e1]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Merge documentation updates with this branch.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | api-level-15
Files: files | file ages | folders
SHA1: 49c7a766e146e40a7fcd1d0791dd131afe243051
User & Date: dan 2014-05-21 18:17:12.917
Context
2014-06-11
19:10
Merge trunk with this branch. (check-in: 7fbe992d8f user: dan tags: api-level-15)
2014-05-21
18:17
Merge documentation updates with this branch. (check-in: 49c7a766e1 user: dan tags: api-level-15)
17:37
Update index.wiki to mention the "api-level-15" branch. (check-in: 3596e35aa8 user: dan tags: trunk)
16:54
Add local versions of classes CancellationSignal and OperationCanceledExcecption so that this code will work with API level 15. (check-in: 59f9c6ccd7 user: dan tags: api-level-15)
Changes
Unified Diff Ignore Whitespace Patch
Changes to www/index.wiki.
18
19
20
21
22
23
24






25
26
27
28
29
30
31
32
33
34
35
36
37
38
39







40
41
42
43
44
45
46
to build a custom version of SQLite to be shipped with the application while
still continuing to use the standard Java interface.

<h2>Normal Usage</h2>

<h3>Installation</h3>







<p>
  Copy the following files from this project into the equivalent locations in
  the application project.

<pre>
    jni/Android.mk
    jni/Application.mk
    jni/sqlite/*                       (copy contents of directory recursively)
    src/org/sqlite/database/*          (copy contents of directory recursively)
</pre>

<p>
  Following this, the directory structures should contain 
  [/tree?ci=trunk&re=%5ejni%7csrc/org/sqlite/data&expand | these files].








<p>
  Directory "jni/sqlite/" contains copies of the sqlite3.h and sqlite3.c 
  source files. Between them, they contain the
  <a href=http://www.sqlite.org/amalgamation.html>source code for the SQLite
  library</a>. If necessary, replace these with the source for the specific 
  version of SQLite required. If SQLite is to be compiled with any special
  pre-processor macros defined, add them to the "jni/sqlite/Android.mk" file







>
>
>
>
>
>















>
>
>
>
>
>
>







18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
to build a custom version of SQLite to be shipped with the application while
still continuing to use the standard Java interface.

<h2>Normal Usage</h2>

<h3>Installation</h3>

<p>
  Android API levels 15 (Android 4.0.3) and greater are supported. If
  targetting API level 16 or greater, use the default "trunk" branch of this
  project. Or, for API level 15, use the "api-level-15" branch. It is not possible
  to target an API level lower than 15.

<p>
  Copy the following files from this project into the equivalent locations in
  the application project.

<pre>
    jni/Android.mk
    jni/Application.mk
    jni/sqlite/*                       (copy contents of directory recursively)
    src/org/sqlite/database/*          (copy contents of directory recursively)
</pre>

<p>
  Following this, the directory structures should contain 
  [/tree?ci=trunk&re=%5ejni%7csrc/org/sqlite/data&expand | these files].

<p>
  For API level 15 only, also copy the following:

<pre>
    src/org/sqlite/os/*                (copy contents of directory recursively)
</pre>

<p>
  Directory "jni/sqlite/" contains copies of the sqlite3.h and sqlite3.c 
  source files. Between them, they contain the
  <a href=http://www.sqlite.org/amalgamation.html>source code for the SQLite
  library</a>. If necessary, replace these with the source for the specific 
  version of SQLite required. If SQLite is to be compiled with any special
  pre-processor macros defined, add them to the "jni/sqlite/Android.mk" file