AFAIK, you will need to roll your own "pick"-style activity for this,
by querying the content provider to get the information you need and
presenting it in a ListView. There is no concept of "content filter"
in Android -- leastways, it does not show up in the documentation.

On Mon, Nov 7, 2011 at 6:42 AM, Danny S. <[email protected]> wrote:
> Hey,
>
> I want to show the contacts using
>
>  Intent intent = new Intent(Intent.ACTION_PICK,
> Contacts.CONTENT_URI);
>
> But I want to show only contacts that have address data. I searched
> for this and I think I have to use content filters. Is this correct
> and how to do this? I dont want to iterate through all of my contacts
> and if the picked contact has no address the user is in bad luck. I
> want to pre filter for this, so that the user can be sure that his
> selection delivers valid data.
>
> Hope someone can help!
> Thanks a lot,
> -Danny S.
>
> --
> 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
>



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

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

Reply via email to