K
K
KnightForce2015-04-27 18:30:59
Android
KnightForce, 2015-04-27 18:30:59

What is the MIME type "vnd.android.cursor.item/vnd.companyname.contenttype"?

Explain to me what this MIME type is and how to work with it?
As I understand it, this is a non-standard type "from the developer".
vnd.android.cursor.item/vnd.companyname.contenttype
And for a collection of entries or strings, the MIME type is
vnd.android.cursor.dir/vnd.companyname.contenttype
Here are a couple of examples:
// One note
vnd.android. cursor.item/vnd.google.note
// A collection or directory of notes
vnd.android.cursor.dir/vnd.google.note
Why? Are there any conditions?
"vnd.android.cursor.item" - cursor because this type is returned from Content Provider?
It turns out that the developer indicates that the Content Provider should return the MIME type "vnd.android.cursor.item/something there"?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lazard105, 2015-07-28
@KnightForce

Why exactly? Are there any conditions?

The MIME types returned by ContentProviders are highly regulated.
A full description of the types is here
developer.android.com/guide/topics/providers/conte...
It turns out that the developer indicates that the Content Provider should return the MIME type "vnd.android.cursor.item/something there"?
Yes exactly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question