views:

41

answers:

1

Naming Android mime-types/Uris:

The sample notepad application uses: "vnd.android.cursor.dir/vnd.google.note" "vnd.android.cursor.item/vnd.google.note"

Let's say I want create my own application with three datatypes that should be stored in the database, how should I name my uris?

Should all content uris start with vnd.android.cursor.dir and vnd.android.cursor.item before the slash?

+1  A: 

It doesn't really matter. AFAIK there is no naming convention for it. Use whatever you like, just make them UNIQUE.

Pentium10