http://developer.android.com/guide/topics/providers/content-providers.html

To use your content provider, you just declare Intents with the data
type you want:
http://developer.android.com/guide/topics/intents/intents-filters.html.
Meaning, register an Intent that handles your content type.

On Jul 22, 5:39 am, BouHu <[email protected]> wrote:
> Hello.
>
> I need to create a handler for the files with custom MIME type, e.g.
> *.my_type.
>
> Could anybody please provide me with the detailed tutorial how to
> archive it?
> As far as i understand, i need to create a custom content provider to
> take care about my type object storage, so i can handle the queries to
> get some data about files, e.g. it's path. But i don't know how to
> make the system to call my Activity to react on VIEW action for
> specific type.
>
> Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to