I've written an <intent-filter> to receive Picasa images shared from the 
Gallery app on Android 2.x  (on 3+ it is not the same intent but this is a 
different topic):

  <intent-filter>
                <action android:name="android.intent.action.SEND" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="text/plain">
  </intent-filter>

Basically the data (Picasa image URL),  is in the EXTRA_TEXT extra.

This work fine but it has the side effect that my app also registers in the 
Youtube app share menu, and my app do not manage 
youtube links.

The difference between the Gallery intent and the Youtube intent is that 
Youtube add a Url to the intent (pointing to the yoube page).

My question is to know if it is possible (and if so how) to restrict the 
intent above to intent *not* having an Url. 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to