Hello,

I´m struggling with a problem where I have to search for information
on a content provider (MediaStore.Audio.Albums) but I need to restrict
my search based on information on another content provider
(MediaStore.Audio.Media).
Based on what I´ve read over the internet I should not use raw sqlite
queries to gather information from content providers (even from the
ones based on sqlite). By the other side I can´t figure a way to
compose the query() method so I add a where clause comparing info from
both providers.
I also have to add "distinct" to the albums listed.

Is there a way to compose the query() method to get the information I
need, should I go for raw sql or should I programatically filter my
results by doing a sequence of queries()?

Thanks,
Gabriel Simões

-- 
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
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to