mac添加应用程序到启动台_为什么某些Mac应用程序需要“使用辅助功能控制这台计算机”?...

mac添加应用程序到启动台

mac添加应用程序到启动台

Some apps, like Dropbox and Steam, will ask to “control this computer using accessibility features.” But what the heck does that even mean?

某些应用程序(例如Dropbox和Steam)将要求“使用辅助功能控制这台计算机”。 但这到底意味着什么?

The wording is confusing, to say that least. What does this permission actually grant? Basically, this gives the app in question the ability to control other programs. Apple outlines their advice here:

至少可以这样说,这令人困惑。 此权限实际上授予了什么? 基本上,这使有问题的应用可以控制其他程序。 苹果在这里概述了他们的建议

If you’re familiar with an app, you can authorize it by clicking Open System Preferences in the alert, then selecting the checkbox for the app in the Privacy pane. If you’re unfamiliar with an app or you don’t want to give it access to your Mac at that time, click Deny in the alert.

如果您熟悉某个应用程序,则可以通过单击警报中的“打开系统偏好设置”,然后在“隐私”窗格中选中该应用程序的复选框来对其进行授权。 如果您不熟悉某个应用程序,或者不想当时让其访问Mac,请在警报中单击“拒绝”。

But that just leaves more questions. Why do you have to give this permission at all? What does giving this permission mean—will such applications really “control this computer”? And why is this called “Accessibility” access, instead of just system access? Let’s break this down.

但这只剩下更多的问题。 为什么您必须完全授予此权限࿱

  • 2
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
应用程序的AndroidManifest.xml文件中声明Launcher应用程序对其他应用程序启动权限,需要使用`<uses-permission>`和`<intent-filter>`两个标签。 1. `<uses-permission>`标签 这个标签用于声明应用程序需要哪些权限,包括启动其他应用程序的权限。例如,如果要启动另一个应用程序需要在AndroidManifest.xml文件中添加以下代码: ```xml <uses-permission android:name="android.permission.LAUNCHER" /> ``` 这样,应用程序就获得了启动其他应用程序的权限。 2. `<intent-filter>`标签 这个标签用于声明应用程序启动方式,即指定应用程序的入口Activity。在AndroidManifest.xml文件中,将应用程序的入口Activity设置为Launcher Activity,并添加一个`<intent-filter>`标签,如下所示: ```xml <activity android:name=".MainActivity" android:label="@string/app_name" android:theme="@style/AppTheme" android:launchMode="singleInstance"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> ``` 其中,`<action>`标签用于声明启动Activity的动作,而`<category>`标签则用于声明Activity的类型。在这个例子中,声明了动作为`android.intent.action.MAIN`,类型为`android.intent.category.LAUNCHER`,表示这个Activity是应用程序的入口Activity,并且可以作为Launcher Activity启动。 这样,在应用程序中调用launcher.launch(intent)方法时,系统会根据Intent的信息,自动检索与之匹配的应用程序,并启动它。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值