Hi everyone,

I have a problem with an intent-filter matching.

I am using the following filter for my activity:

           <intent-filter>
               <action android:name="android.intent.action.SEND_MULTIPLE" />
               <category android:name="android.intent.category.DEFAULT" />
               <data android:mimeType="image/*" />
           </intent-filter>

My objective is to only receive intents with images. The problem is that
intents with mimetype "*/*"  are also being matched.

Shouldn't the wildcard match be done only for the wildcards in the filter? I
mean, It seems correct that a filter with type "*/*" should match an intent
with "image/*", but not the opposite.
Is there any way to specify that I only want images?

Thanks!

Felipe
-- 
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