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?  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.

On Sep 4, 12:45 pm, Mark Murphy <[EMAIL PROTECTED]> wrote:
> hackbod wrote:
> > I'm not really sure I understand what you want to do.  The protocol
> > for PICK is very simply: the data is the URI of items you want to pick
> > from, and the result returned is a URI of the one that was picked, as
> > described here:
>
> >http://code.google.com/android/reference/android/content/Intent.html#...
>
> > There is no EXTRA_INTENT involved.  As long as you have the data set
> > to a URI of items, and there is an activity that can pick from that
> > MIME type (which there may not necessarily be depending on what you
> > are trying to pick from), then it will work.
>
> I'm sorry, but I believe you misinterpreted what I wrote. Probably I was
> too confusing, so let me try something shorter...
>
> I know how to use ACTION_PICK. I get a contact via ACTION_PICK. So far,
> life is good.
>
> I now want to apply ACTION_PICK_ACTIVITY against that contact that the
> user picked.
>
> I cannot make sense of the documentation to determine how to use
> ACTION_PICK_ACTIVITY, there is no sample app that uses that Intent
> action in the SDK, and my random stabs at using ACTION_PICK_ACTIVITY
> fail with a "No Activity found to handle Intent" error.
>
> So...I'm wondering if anyone has a code snippet that demonstrates
> crafting an ACTION_PICK_ACTIVITY Intent and invoking it against a given
> content Uri (e.g., a contact picked via ACTION_PICK).
>
> Thanks in advance!
>
> --
> 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 android-developers@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to