hackbod wrote: > The PICK_ACTIVITY action may be implemented in some code that isn't > included with this SDK. What are you trying to do accomplish with > it?
Write about it in a chapter in my book. These sort of "introspection" mechanisms (e.g., addIntentOptions(), the discarded ActivityAdapter/ActivityIconAdapter) are one of the more interesting aspects of Android-dom, leading to lots of potential for inter-activity cooperation. > What it is usually used for is to display to the user a list of > activities for them to pick -- such as the top-level main main > activities you can launch. I don't really see how it makes sense to > use against a specific contact. For the book example, I was going to have the user ACTION_PICK a contact and then pick an operation via ACTION_PICK_ACTIVITY. That's because keeping book examples short and sweet makes it easier for people to grok the implementation. And, contacts are one content provider I know will be on the emulator and can trivially be added by the user so there's some real data there. So, yes, it's a mildly fakey example, but, gimme a break, it's a book... I suppose I'll just delve deeper into PackageManager#queryIntentActivityOptions() instead. I prefer to put in more details on the more "cooked" approaches than the raw one, but if ACTION_PICK_ACTIVITY is DOA, and ActivityAdapter/ActivityIconAdapter are nuked, I may as well cover what I can. Thanks anyway! -- Mark Murphy (a Commons Guy) http://commonsware.com Warescription: All titles, revisions, & ebook formats, just $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 [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new Android 0.9 SDK beta! http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

