On Thu, Mar 29, 2012 at 11:19 AM, rk <[email protected]> wrote: > My application is having an launcher activity with following intent- > filter > Action - android.intent.action.VIEW > Category - android.intent.category.DEFAULT > Mime-type -image/jpeg > > From 'Dual File Manger', When I try to open a file, which is not > having proper extension (name file.txy, NOT txt ) and as mime-type is > not known to Dual File Manger, Resolver Activity is listing many > applications including my Application/Activity, none of these > application can open this file, as it is not standard file-extension. > > When I checked logcat logs, I observed following line > > I/ActivityManager(154): START {act=android.intent.action.VIEW > dat=file:///sdcard/folder/file.txy typ=*/* cmp=android/ > com.android.internal.app.ResolverActivity} from pid > > I would like to know why my App/Activity is listed, even-though its > not supporting */* mime-type ?
Sure it is. */* is a wildcard. Anything matches. > In this case, how Can I avoid my app listing in Resolver Activity ? Tell the authors of Dual File Manager to not use */* as a MIME type. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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

