I'm aware of:
http://developer.android.com/reference/android/content/pm/PackageManager.html#queryContentProviders(java.lang.String,
int, int)

but this returns all ContentProviders available to the system.

However, I am only interested in ContentProviders of my own
application and, for performance reasons, would rather not iterate
through a potentially long list returned by the above method.

Does anyone know a more performant solution to this?

BTW, if you are wondering why not just hardcode this list (since it's
my own app), it's because I am writing a library which I intend to use
in several of my apps.

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