这是可以接收广播没有在清单文件中添加权限 [英] Is this possible to receive a broadcast without adding permission in manifest file

查看:268
本文介绍了这是可以接收广播没有在清单文件中添加权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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.

这篇关于这是可以接收广播没有在清单文件中添加权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆