[android-developers] Re: Am I missing something really dumb.

2009-02-04 Thread Al Sutton
dataURI is a content provider URI (content://com.funkyandroid.provider.test/) which is created using Uri.parse. I can't see a way to specify a MIME type in Uri.parse or in the resulting Uri object, so am I still missing something? Al. Peli wrote: > Your intent has a deceptively looking data

[android-developers] Re: Am I missing something really dumb.

2009-02-04 Thread Peli
In your provider, you should have a method getType(Uri uri) which returns the MIME type of your Uri. You should have defined it yourself as something like: "vnd.android.cursor.dir/vnd.funkyandroid.provider.text" and this is the MIME type that you have to declare in your intent filter. Peli On

[android-developers] Re: Am I missing something really dumb.

2009-02-04 Thread Peli
Your intent has a deceptively looking dataURI. Your intent filter should therefore contain the tag with the corresponding MIME type of the dataURI in order to match. Peli www.openintents.org On Feb 4, 2:36 pm, Al Sutton wrote: > I have a service in an APK which starts a Thread which has the fo

[android-developers] Re: Am I missing something really dumb.

2009-02-04 Thread Al Sutton
Once again you've shown yourself as a genius. It's all working now. Thanks (again), Al. Peli wrote: > In your provider, you should have a method getType(Uri uri) which > returns the MIME type of your Uri. > > You should have defined it yourself as something like: > "vnd.android.cursor.dir/vnd.f