pengwang
pengwang

Reputation: 19956

how to get the proritity in java code

In the AndroidManifest.xml, I can add the priority attributes in , I want to know if I can get the value of priority use code

Upvotes: 0

Views: 43

Answers (2)

zmarties
zmarties

Reputation: 4869

There's no API to achieve this, but you can read the AndroidManifest file of any application (including secured ones) and parse out the information yourself.

Upvotes: 0

CommonsWare
CommonsWare

Reputation: 1006789

Information about intent filters is not exposed via PackageManager, so, AFAIK, there is no way to access the priority.

Upvotes: 1

Related Questions