Can an Android library have its own filters?

I would like to create a library that can be included in other Android applications to capture certain kinds of intentions. Is it possible?

I created a library and a test project, both have their own AndroidManifest.xml files. In the library manifest, I defined an intent filter for the TEST action. But when I run the intent with the "TEST" action from the test project, this intent filter does not work.

Are library intent filters ever used by Android?

+4
source share
1 answer

Are library intent filters ever used by Android?

Currently, AFAIK, the manifest from the library is ignored. This may change in the future.

+4
source

Source: https://habr.com/ru/post/1332115/


All Articles