这是可以接收广播没有在清单文件中添加权限这是、清单、权限、文件

2023-09-04 04:59:02 作者:悲催的爱情=

如果一个应用程序正在广播与即接收机权限应必须能够接收广播的一些特定的权限。

If an application is broadcasting with permissions i.e. receiver should have some particular permission to be able to receive the broadcast.

还能有一些人收到此广播没有在清单文件中添加许可其他办法吗?

Can there be some other way to receive this broadcast without adding permission in the manifest file?

我只是想现在有多么强大的权限...不是一个错误的目的。

I am just trying to now how powerful are permissions...not for a wrong purpose.

推荐答案

这是一个Android的主要安全概念,每一个活动需要请求它希望在其应用程序使用权限。

This is one of the main security concepts of Android that every activity needs to request the permissions which it would like to use in its app.

如果有可能注册的BroadcastReceiver一些没有在清单文件中的特定的权限,它会很容易损害系统。

If it would be possible to register some broadcastreceiver without the specific permissions in the manifest file, it would be easy to compromise the system.