Unable to get intent filters from a package
Asked Answered
G

1

5

I want to list all the intent filters that are present in an package.

I am trying to do it using PackageManager class. I have set the flag PackageManager.GET_INTENT_FILTERS while fetching the PackageInfo object. But I dont know how to use it.

I was able to get all the info related to activites and receivers using the respective flags, but dunno how to proceed for intent-filters.

Any ideas how to solve this issue?

Gesticulation answered 11/9, 2013 at 10:54 Comment(1)
@TusharPandey - none that I know of.Gesticulation
H
4

Looks like intent filters are not exposed in the API and the flag effectively does nothing: http://code.google.com/p/android/issues/detail?id=3217

Hugohugon answered 21/11, 2013 at 13:24 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.