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
  • 607
  • 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
  • 954,112
  • 185
  • 2,315
  • 2,367