exploring contacts db

no such collation sequence phonebook

Search for: no such collation sequence phonebook

looks like there is a problem with opening these databases

collation sequence

Search Google for: collation sequence

Search Android Developers Group for: collation sequence

Search Android Beginers Group for: collation sequence

Search Google Code for: collation sequence

Search Android Issues Database for: collation sequence

how to add custom collations to sqlite

Search for: how to add custom collations to sqlite

defining new collation sequences for sqlite

This is not entirely useful. This article points out the functions in (possibly) a dll that can be added to sqlite.

It is not clear how Android specific collation sequences can be made available to sqlite3 that is not on the device or the emulator.

http://code.google.com/p/cyanogenmod/issues/detail?id=2251

Summary

"The sqlite3 binary needs to be compiled such that it includes those collations, otherwise it will not be able to execute queries on DBs that use them, which are now standard in Android 2.2. I think linking it against /system/lib/libsqlite.so may be a solution"

http://sourceforge.net/projects/asqlitemanager/

Not sure if this will help. Looks like one will need an updated sqlite dll that is customized by android

sql command to remove collation in sqlite3

Search for: sql command to remove collation in sqlite3

http://www.sqlite.org/datatype3.html

I am hoping I can find how to remove collation sequences defined by Android so that the database can be opened by sqlite3 tools.


CREATE TABLE t1(
    x INTEGER PRIMARY KEY,
    a,                 /* collating sequence BINARY */
    b COLLATE BINARY,  /* collating sequence BINARY */
    c COLLATE RTRIM,   /* collating sequence RTRIM  */
    d COLLATE NOCASE   /* collating sequence NOCASE */
);

contacts
groups
data
mimetypes
raw_contacts

vnd.android.cursor.item/email_v2
vnd.android.cursor.item/im
vnd.android.cursor.item/postal_address_v2
vnd.android.cursor.item/photo
vnd.android.cursor.item/phone_v2
vnd.android.cursor.item/name
vnd.android.cursor.item/organization
vnd.android.cursor.item/nickname
vnd.android.cursor.item/group_membership
vnd.android.cursor.item/website
vnd.android.cursor.item/none

your_email_address, com.google

There seem to be a blank row with blank account type.

android contacts blank account

Search for: android contacts blank account

sqlite binary updated with android phonebook collation

Search for: sqlite binary updated with android phonebook collation

add collation dll sqlite dll

Search for: add collation dll sqlite dll

writing extensions for sqlite

figuring out android sqlite version

Looks like 3.6.22 and above for recent releases.

Current sqlite version is 3.7.3 (Oct 2010)

3.6.22 is from (Jan 2010)

version history of sqlite

android phonebook collation

Search for: android phonebook collation

android 2.2 adding a contact

Search for: android 2.2 adding a contact

android 2.2 users guide

I didn't know such a thing existed

android contacts no account

Search for: android contacts no account

android contact lookupkey

Search for: android contact lookupkey

android quick contact

Search for: android quick contact

android updating a contact which account

Search for: android updating a contact which account

A list of sqlite management tools