On Fri, Aug 20, 2010 at 9:44 PM, Dianne Hackborn <[email protected]> wrote: > On Fri, Aug 20, 2010 at 3:22 PM, Mark Murphy <[email protected]> > wrote: >> >> You do not have a noteIntent.setCategory() call here. Those need to >> line up. Either have a category and use it, or do not have a category >> and do not use it. > > Actually these should be fine. DEFAULT is a special category, meaning it is > the default user action. It is implicitly added when you use > startActivity(), so all activities that want to be launched that way must > support it.
Ah, I had not realized that. > Also it is not a problem if an activity says it supports > category FOO and the starting intent does not require category FOO. > Categories are requirements the caller makes on the callee; the recipient > activity can not require that the intent it receives have any particular > categories. Oops. I knew that but was thinking backwards. My apologies to the OP. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to Android Development_ Version 3.1 Available! -- 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

