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
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
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
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
4 matches
Mail list logo