Android: GUID Primary key Android: GUID Primary key sqlite sqlite

Android: GUID Primary key


The yellow box in the storage guide says:

Android does not impose anylimitations beyond the standard SQLiteconcepts. We do recommend including anautoincrement value key field that canbe used as a unique ID to quickly finda record. This is not required forprivate data, but if you implement acontent provider, you must include aunique ID using the BaseColumns._IDconstant.

Now when you click on the BaseColumns class you will see

public static final String _ID

The unique ID for a row.

Type: INTEGER (long)

Constant Value: "_id"

So I guess, a GUID will not work.