[DEV] [QUESTION] Change Activity properties in runtime
I don't know is this the place to ask this or not, but I need to change Activities property with APIs not on XML file, specificly I want to change IntentFilter of activity and register/unregister new filters during runtime, I know how to do it with an EventObserver but is it possible to do it for activity itself.
This is an example: a program that have an option to be the Launcher of the system, when you enable the option, program register the IntentFilter s to be the home app (Launcher) and when you disable the option, it would unregister the IntentFilter s.
|