There is an application A , which has ROOT rights. It is necessary that application A can install itself or other applications as the “default application”. For example for: receive / send SMS, go to URL, etc.
How can this be done programmatically (without asking the user)?