0

I want to get a list of content providers that exist on a device for a given authority substring. Each of the providers I will call must have the same signature.

I found that I can get all providers on a device and loop through each of them but I thought there might be a more efficient way. ( Get a list of available Content Providers )

Community
  • 1
  • 1
kjsteuer
  • 617
  • 1
  • 6
  • 14

1 Answers1

0

No, the solution outlined in that answer is as good as you are going to get. The concept of "authority substring" is your invention, not a concept intrinsic to Android.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491