dmitry-lt / android-comapping

Automatically exported from code.google.com/p/android-comapping
0 stars 0 forks source link

Add Mime Type #122

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We need to register(add) our Mime type to Android.
We get some information here:
http://groups.google.com/group/android-developers/browse_thread/thread/6bbaac4a5
def42ad?hl=en

So we need to add new Mime Type to our content-provider:
http://developer.android.com/guide/topics/providers/content-providers.html

To use our content provider, we just declare Intents with the data
type we want:
http://developer.android.com/guide/topics/intents/intents-filters.html.

Meaning, register an Intent that handles our content type. 

The example is Notepad sample.

(May be for next release)

Original issue reported on code.google.com by Dmitry.M...@gmail.com on 23 Jul 2009 at 5:16