MrChaz wrote: > That's the one I'm trying to use: > > <intent-filter android:icon="@drawable/icon" android:label="@string/ > app_name"> > <action android:name="android.intent.action.SEND"></action> > <category android:name="android.intent.category.ALTERNATIVE"></ > category> > <category > android:name="android.intent.category.SELECTED_ALTERNATIVE"></ > category> > </intent-filter>
Well, I can tell you that the mail program uses: <intent-filter android:label="@string/app_name"> <action android:name="android.intent.action.SEND" /> <data android:mimeType="text/plain" /> <data android:mimeType="image/*" /> <data android:mimeType="video/*" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> And the MMS client uses: <intent-filter> <action android:name="android.intent.action.SEND" /> <category android:name="android.intent.category.DEFAULT" /> <data android:mimeType="image/*" /> </intent-filter> <intent-filter> <action android:name="android.intent.action.SEND" /> <category android:name="android.intent.category.DEFAULT" /> <data android:mimeType="video/*" /> </intent-filter> <intent-filter> <action android:name="android.intent.action.SEND" /> <category android:name="android.intent.category.DEFAULT" /> <data android:mimeType="text/plain" /> </intent-filter> The categories you are using are for option menus and AFAIK are not relevant for the scenario you are trying. So, I'd model after the ones from the Android source code. BTW, to find this, you can use Google Code Search: http://www.google.com/codesearch and search on: package:android android.intent.action.SEND (though that will also bring up a bunch of SENDTO entries as well) -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year -- 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