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#ACTION_PICK
> 
> 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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to