Andee lives on your phone or Mac and uses any app like you do—no integrations, no root, any model; memory and passwords never leave your device | Andee 住进你的手机或 Mac,像你一样操作任何 App——无需集成、无需 Root、支持任意模型,记忆和密码绝不离开设备。
docs(copy): let users pick their own wake word, sharpen CodeFlying pitch
booboosuifaa5e3b8d9c8
diff --git a/README.md b/README.mdindex 669032b..e2c69fa 100644--- a/README.md+++ b/README.md@@ -657,14 +657,19 @@ If any step does not line up, go back to that section's **Verify**.> degraded one. If your APK was packaged via CodeFlying, the **CodeFlying** tab is the default and> there is nothing to fill in.-## Wake word ("Hey Andee")+## Wake wordIf you would rather not tap the ball every time, teach it your voice: **⚙ → wake word → record wake-word**, and say "Hey Andee" three times as prompted. After that, saying it **while the screen is on**-does exactly what tapping the ball does.+word**, and say the phrase you want to use three times as prompted (for example "Hey Andee" — any+other phrase works too, as long as you say the same one each time). After that, saying it **while the+screen is on** does exactly what tapping the ball does.A few things worth knowing first:+- **Do not pick something too short.** Aim for a phrase that takes at least half a second to say.+ Very short words are easy to confuse with other sounds, and anything under 350 ms is dropped before+ it is recorded.+- **It is fully offline.** Recognition is local MFCC + DTW template matching (`app/.../wake/`): nonetwork, no cost, and all it stores is a feature vector — the audio itself never touches disk. Theprice is that it recognises **you** saying that phrase. Someone else calling it, or a very differentdiff --git a/README.zh-CN.md b/README.zh-CN.mdindex 507256a..c690fc7 100644--- a/README.zh-CN.md+++ b/README.zh-CN.md@@ -499,7 +499,7 @@ adb install -r app/build/outputs/apk/debug/app-debug.apk|---|---|---|| 悬浮窗(`SYSTEM_ALERT_WINDOW`) | 画那颗球 + 字幕 + 设置窗 | **应用起来什么都看不到**,唯一一个「不开就完全不能用」的 || 无障碍服务(`Accessibility`) | 点按 / 滑动 / 输入 / 截屏 / dump UI 树 / back·home | 大脑侧所有 `screen.*` 工具全部报错 |-| 麦克风(`RECORD_AUDIO`) | 流式 ASR + 唤醒词「嘿 Andee」 | 点球没反应,ASR 起不来 |+| 麦克风(`RECORD_AUDIO`) | 流式 ASR + 用户自己录的唤醒词 | 点球没反应,ASR 起不来 || USB 设备(按设备授权,不是开关) | 机器狗的加密狗 | 第一次调 `dog_*` 时会弹「允许访问该 USB 设备」,不点允许就遥控不了狗 |`INTERNET` 是普通权限,装完就有,不用管。@@ -578,13 +578,16 @@ adb shell pm grant net.kuafuai.andee android.permission.WRITE_SECURE_SETTINGS**验证**:点悬浮球一次,字幕栏出现 "listening…" 或实时 ASR 文本就是通了。-## 唤醒词「嘿 Andee」+## 唤醒词-不想每次都去点球,可以教它认自己的声音:**⚙ → 唤醒词 → 录入唤醒词**,照提示说 3 遍「嘿-Andee」。之后**亮屏状态下**说这句话,效果和点一下球完全一样。+不想每次都去点球,可以教它认自己的声音:**⚙ → 唤醒词 → 录入唤醒词**,照提示把你想用的词说 3+遍(比如「嘿 Andee」,换成别的词也行,每遍说同一个)。之后**亮屏状态下**说这个词,效果和点一下球完全一样。几件值得先知道的事:+- **词不要太短。** 建议 3 到 5 个字、念起来半秒以上。太短的词容易被认错,念得短于 350 毫秒的+ 还会被直接丢掉,录不进去。+- **全离线。** 识别是本机的 MFCC + DTW 模板匹配(`app/.../wake/`),不联网、不花钱,存的只是特征向量,录音本身从不落盘。代价是它认的是**你**说这句话的样子 —— 换个人叫、或语气差太多,可能叫不醒;叫不醒就点球,不影响别的。diff --git a/app/src/main/java/net/kuafuai/andee/ScreenBodyService.kt b/app/src/main/java/net/kuafuai/andee/ScreenBodyService.ktindex 46e54b0..c86210a 100644--- a/app/src/main/java/net/kuafuai/andee/ScreenBodyService.kt+++ b/app/src/main/java/net/kuafuai/andee/ScreenBodyService.kt@@ -1018,7 +1018,7 @@ class ScreenBodyService : AccessibilityService() {}/**- * "嘿 Andee" as a second way to press the ball.+ * The user's own wake word as a second way to press the ball.** The gate is the whole contract with [WakeWord]: it holds the microphone* only while every one of these is true, and lets go within ~100 ms of any@@ -1028,8 +1028,8 @@ class ScreenBodyService : AccessibilityService() {* bedside table from listening all night.* - **ASR idle.** The turn's own recorder must never lose a race to the one* listening for a wake word.- * - **TTS quiet.** Otherwise Andee hears itself say "嘿" and wakes up to- * its own voice.+ * - **TTS quiet.** Otherwise Andee can hear itself say something close to+ * the wake word and wake up to its own voice.* - **No meeting running.** `asr.isActive()` happens to cover this today* (it is `audio.isStreaming()`, which a meeting also sets), but that is a* coincidence inside a method named for the ASR. Spelled out so a futurediff --git a/app/src/main/java/net/kuafuai/andee/audio/Earcon.kt b/app/src/main/java/net/kuafuai/andee/audio/Earcon.ktindex 2e8201a..ca730ca 100644--- a/app/src/main/java/net/kuafuai/andee/audio/Earcon.kt+++ b/app/src/main/java/net/kuafuai/andee/audio/Earcon.kt@@ -15,8 +15,8 @@ import kotlin.math.sin** These are the audible half of the ball's face. The face only works when the* user happens to be looking at it, and the two moments that most need an- * acknowledgement are exactly the moments they are not: after saying "嘿- * Andee" they are waiting to hear whether to start talking, and after+ * acknowledgement are exactly the moments they are not: after saying the+ * wake word they are waiting to hear whether to start talking, and after* finishing a sentence they are waiting to hear whether it landed.** ## Synthesised, not shipped as assetsdiff --git a/app/src/main/java/net/kuafuai/andee/wake/Dtw.kt b/app/src/main/java/net/kuafuai/andee/wake/Dtw.ktindex c2bd9b7..4a0f8b6 100644--- a/app/src/main/java/net/kuafuai/andee/wake/Dtw.kt+++ b/app/src/main/java/net/kuafuai/andee/wake/Dtw.kt@@ -9,7 +9,7 @@ import kotlin.math.sqrt* Dynamic time warping over [Mfcc] frames.** What it buys over comparing the two clips frame-for-frame: the user does not- * say "嘿 Andee" at the same speed twice, and a rigid comparison turns a 15%+ * say the wake word at the same speed twice, and a rigid comparison turns a 15%* slower take into a different phrase. DTW finds the cheapest alignment that* keeps time moving forward in both clips, so tempo stops mattering and the* sounds start to.diff --git a/app/src/main/java/net/kuafuai/andee/wake/VoiceSegmenter.kt b/app/src/main/java/net/kuafuai/andee/wake/VoiceSegmenter.ktindex 259260f..2978358 100644--- a/app/src/main/java/net/kuafuai/andee/wake/VoiceSegmenter.kt+++ b/app/src/main/java/net/kuafuai/andee/wake/VoiceSegmenter.kt@@ -140,7 +140,7 @@ class VoiceSegmenter(private val onSegment: (ShortArray) -> Unit) {const val PREROLL_FRAMES = 15 // 150 ms of run-upconst val START_FRAMES = 3 // 30 ms above the line before it countsconst val END_FRAMES = 30 // 300 ms of quiet ends the utterance- const val MIN_FRAMES = 35 // 350 ms — shorter than "嘿 Andee" can be+ const val MIN_FRAMES = 35 // 350 ms — a word shorter than this is dropped, so it cannot be enrolledconst val MAX_FRAMES = 180 // 1.8 s — longer than it can beconst val START_MULT = 3.5fdiff --git a/app/src/main/java/net/kuafuai/andee/wake/WakeTemplates.kt b/app/src/main/java/net/kuafuai/andee/wake/WakeTemplates.ktindex d3d4185..6fb030c 100644--- a/app/src/main/java/net/kuafuai/andee/wake/WakeTemplates.kt+++ b/app/src/main/java/net/kuafuai/andee/wake/WakeTemplates.kt@@ -7,7 +7,7 @@ import org.json.JSONObjectimport java.io.File/**- * The enrolled "嘿 Andee" takes, on disk.+ * The enrolled wake-word takes, on disk.** Three recordings reduced to [Mfcc] frames — a few hundred floats each, no* audio kept. That is a deliberate privacy property as much as a size one:diff --git a/app/src/main/java/net/kuafuai/andee/wake/WakeWord.kt b/app/src/main/java/net/kuafuai/andee/wake/WakeWord.ktindex 319d0e4..55b9ce1 100644--- a/app/src/main/java/net/kuafuai/andee/wake/WakeWord.kt+++ b/app/src/main/java/net/kuafuai/andee/wake/WakeWord.kt@@ -5,7 +5,8 @@ import android.os.SystemClockimport android.util.Log/**- * "嘿 Andee" — the hands-free way to do what tapping the ball does.+ * The wake word — whatever phrase the user enrolled, the hands-free way to do+ * what tapping the ball does. Nothing here knows what the phrase is.** Entirely on device: [WakeMic] → [VoiceSegmenter] → [Mfcc] → [Dtw] against* the three takes the user enrolled. No network, no model file, no per-calldiff --git a/app/src/main/res/values-en/strings.xml b/app/src/main/res/values-en/strings.xmlindex 837639f..dbca99a 100644--- a/app/src/main/res/values-en/strings.xml+++ b/app/src/main/res/values-en/strings.xml@@ -74,8 +74,8 @@<string name="settings_brain_codeflying">CodeFlying</string><string name="settings_show_hub">Show cloud option</string><string name="settings_show_hub_note">Adds a Cloud backend tab for connecting to a hub you host yourself.</string>- <string name="settings_brain_codeflying_note">Powered by your backend hosted on CodeFlying.app: ships models and voice services by default, with a long tail of third-party API integrations — AI image / video / music generation, geolocation, weather, PDF conversion, search, news, stocks, and more. CodeFlying wraps and bills every third-party API in one place, so you don\'t have to sign up for each provider and juggle their keys and invoices yourself.\n\nNote: using CodeFlying backend services may incur charges.</string>- <string name="settings_brain_codeflying_unconfigured">CodeFlying is not configured on this Andee. From a computer, visit CodeFlying.app and have it build an Andee install package wired to your own backend — install it over this app and you get the default models, voice services, and a long list of third-party API integrations (AI image / video / music generation, weather, location, PDF, search, news, stocks, and more). CodeFlying wraps and bills every third-party API in one place, so you don\'t have to sign up for each provider and juggle their keys and invoices yourself.\n\nNote: using CodeFlying backend services may incur charges.</string>+ <string name="settings_brain_codeflying_note">CodeFlying is connected: models and voice are set up and ready to go. You can also tap into a long list of third-party services — AI image, video and music generation, location, weather, PDF conversion, search, news, stocks and more. CodeFlying wraps and bills all of them in one place, so you never have to sign up with each provider or juggle their keys and invoices.\n\nNote: using CodeFlying backend services may incur charges.</string>+ <string name="settings_brain_codeflying_unconfigured">Want Andee to draw, make videos, write music, check the weather, search the news, convert PDFs, or watch stocks for you? Connect CodeFlying: models and voice come set up, and a long list of third-party services is one hookup away, with no separate sign-ups, keys or invoices.\n\nTo get started, open CodeFlying.app in a computer browser and generate your own Andee install package in one click, then install it over this app. New users get free credit, so you can try it first.\n\nNote: using CodeFlying backend services may incur charges.</string><string name="settings_hub_url">Hub URL</string><!-- The hub URL box is empty on a fresh install — the hint is what theuser sees in that empty box, so it is the pitch, not the format. -->@@ -94,8 +94,8 @@<string name="common_low">Low</string><string name="settings_brain_local_note">The device runs the agent loop itself, with no hub. Without a key it will not take over.</string><string name="settings_section_wake">Wake word</string>- <string name="settings_wake_enrolled">Enrolled — say “Hey Andee” while the screen is on</string>- <string name="settings_wake_not_enrolled">Not enrolled — record it once to wake me by voice</string>+ <string name="settings_wake_enrolled">Enrolled — say your wake word while the screen is on</string>+ <string name="settings_wake_not_enrolled">Not enrolled — pick a phrase and say it 3 times to wake me by voice, e.g. “Hey Andee”</string><string name="settings_wake_record">Record</string><string name="common_clear">Clear</string><string name="common_delete">Delete</string>@@ -212,21 +212,21 @@<string name="vault_field_card_cvv">CVV</string><string name="vault_label_card_last4">Card ending</string><string name="vault_error_name_required">Name cannot be empty</string>- <string name="wake_title">Teach me “Hey Andee”</string>- <string name="wake_instructions">Tap Start, then say “Hey Andee” the way you normally call me — it stops on its own. You\'ll say it %1$d times — don\'t say it more carefully than usual, or I won\'t recognise it when you call me normally.</string>+ <string name="wake_title">Teach me your wake word</string>+ <string name="wake_instructions">Pick any word or phrase you like to call me by, for example “Hey Andee”. Aim for something that takes at least half a second to say — very short words are easy to confuse and may not record at all. Tap Start, then say it the way you normally would — it stops on its own. You\'ll say the same thing %1$d times — don\'t say it more carefully than usual, or I won\'t recognise it when you call me normally.</string><string name="wake_progress">%1$d / %2$d</string><string name="wake_status_enrolled">Already recorded — recording again will overwrite it.</string>- <string name="wake_status_not_enrolled">Not recorded yet.</string>+ <string name="wake_status_not_enrolled">Not recorded yet. Think of a phrase (e.g. “Hey Andee”), then tap Start.</string><string name="wake_close">Close</string><string name="wake_start">Start</string><string name="wake_listening">Listening…</string>- <string name="wake_speak_now">Go ahead — “Hey Andee”</string>+ <string name="wake_speak_now">Go ahead — your wake word</string><string name="wake_retry">Try again</string><string name="wake_not_heard">Didn\'t catch that — move closer, then wait half a second after you finish before checking the screen.</string><string name="wake_say_again">Say it again</string><string name="wake_received">Got it (%1$d ms). %2$d to go.</string><string name="wake_rerecord">Record again</string>- <string name="wake_done">Done — just say “Hey Andee” while the screen is on. (threshold %1$s)</string>+ <string name="wake_done">Done — just say your wake word while the screen is on. (threshold %1$s)</string><!-- device/LookActivity.kt --><string name="dev_look_focusing">Focusing…</string><string name="dev_look_seen">Got it</string>@@ -423,7 +423,7 @@<string name="check_detail_voice_host_ok">%1$s is reachable.</string><string name="check_detail_voice_host_bad">Could not reach %1$s: %2$s. Both recognition and synthesis will time out.</string><string name="check_detail_wake_on">Taught, and it wakes while the screen is on.</string>- <string name="check_detail_wake_off">Not taught yet. Everything still works, you just have to tap the ball to talk.</string>+ <string name="check_detail_wake_off">Not taught yet. Pick a phrase (e.g. “Hey Andee”) and say it 3 times to wake me by voice. Everything still works without it, you just tap the ball to talk.</string><string name="check_detail_battery_on">Exempt, so pending reminders are not delayed.</string><string name="check_detail_battery_off">Not exempt from battery optimisation. Tap “Open settings” — the system asks “Ignore battery optimisations?”; take the button that ignores them.\nThe vendor’s own “App launch / background running” controls are a separate system; changing them leaves this row red. With the screen off a pending reminder may arrive late, and the wake phrase stops listening.</string><string name="check_detail_disk_ok">%1$d MB free.</string>@@ -483,7 +483,7 @@<string name="wizard_welcome_body">A few steps to get this device ready. Each one asks you to grant a permission or fill a setting. Tap Next when you\'re done.</string><string name="wizard_wake_title">Wake phrase</string>- <string name="wizard_wake_body">Record a wake phrase — you can call it by voice when the screen is on. Works without one too; you\'d just tap the ball instead.</string>+ <string name="wizard_wake_body">Pick a phrase and say it 3 times (e.g. “Hey Andee”) — you can then call me by voice when the screen is on. Works without one too; you\'d just tap the ball instead.</string><string name="wizard_wake_button">Record</string><string name="wizard_look_title">Take a look around</string>diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xmlindex de2cdf8..a47399a 100644--- a/app/src/main/res/values/strings.xml+++ b/app/src/main/res/values/strings.xml@@ -51,8 +51,8 @@<string name="settings_brain_codeflying">CodeFlying</string><string name="settings_show_hub">显示云端选项</string><string name="settings_show_hub_note">把「云端」加到后端选项里,用来连你自己搭的 Hub。</string>- <string name="settings_brain_codeflying_note">由您在 CodeFlying.net 平台托管的后端服务提供支持:默认提供模型和语音服务,并集成海量第三方 API——AI 图片/视频/音乐生成,地理位置、天气、PDF 转换、搜索、新闻、股票等等。所有第三方 API 由 CodeFlying 统一封装并计费,免去您自己逐一申请密钥和维护账单的麻烦。\n\n注意:使用 CodeFlying 的后端服务可能会产生费用。</string>- <string name="settings_brain_codeflying_unconfigured">这台 Andee 没有配置 CodeFlying。到电脑上访问 CodeFlying.net,用它一键生成带有您专属后端的 Andee 安装包并替换当前应用,就能用上默认模型、语音以及海量第三方 API(AI 图片/视频/音乐生成、天气、位置、PDF、搜索、新闻、股票等等)。所有第三方 API 由 CodeFlying 统一封装并计费,免去您自己逐一申请密钥和维护账单的麻烦。\n\n注意:使用 CodeFlying 的后端服务可能会产生费用。</string>+ <string name="settings_brain_codeflying_note">已接入 CodeFlying:默认模型和语音都配好了,开箱就能用。还能直接调用海量第三方能力 —— AI 画图/做视频/写音乐、定位、天气、PDF 转换、搜索、新闻、股票……全部由 CodeFlying 统一封装、统一计费,不用自己逐个去申请密钥、对账单。\n\n提示:使用 CodeFlying 的后端服务可能会产生费用。</string>+ <string name="settings_brain_codeflying_unconfigured">想让 Andee 直接会画图、做视频、写音乐、查天气、搜新闻、转 PDF、看股票?接上 CodeFlying 就行:默认模型和语音都帮你配好,海量第三方能力一次接入,不用自己逐个申请密钥、对账单。\n\n怎么开始:用电脑浏览器打开 CodeFlying.net,一键生成专属于你的 Andee 安装包,装上去替换当前应用就好。新用户可免费获得额度,先试试再决定。\n\n提示:使用 CodeFlying 的后端服务可能会产生费用。</string><string name="settings_hub_url">Hub 地址</string><!-- The hub URL box is empty on a fresh install — the hint is what theuser sees in that empty box, so it is the pitch, not the format. -->@@ -71,8 +71,8 @@<string name="common_low">低</string><string name="settings_brain_local_note">设备自己跑 agent loop,不连 Hub。没有 Key 就不会接管。</string><string name="settings_section_wake">语音唤醒</string>- <string name="settings_wake_enrolled">已录入 —— 亮屏时说「嘿 Andee」就行</string>- <string name="settings_wake_not_enrolled">未录入 —— 录一次才能语音唤醒</string>+ <string name="settings_wake_enrolled">已录入 —— 亮屏时说出你录的唤醒词就行</string>+ <string name="settings_wake_not_enrolled">未录入 —— 自己选个词录 3 遍就能语音唤醒,例如「嘿 Andee」</string><string name="settings_wake_record">录入</string><string name="common_clear">清除</string><string name="common_delete">删除</string>@@ -194,21 +194,21 @@<string name="vault_field_card_cvv">安全码 CVV</string><string name="vault_label_card_last4">尾号</string><string name="vault_error_name_required">名称不能为空</string>- <string name="wake_title">教我认「嘿 Andee」</string>- <string name="wake_instructions">点「开始」,然后像平时叫我那样说一遍「嘿 Andee」,说完会自动停。一共要说 %1$d 次 —— 别刻意念得比平时清楚,不然平时那样叫我反而认不出来。</string>+ <string name="wake_title">教我认你的唤醒词</string>+ <string name="wake_instructions">想用什么词叫我都行,比如「嘿 Andee」。建议 3 到 5 个字,念起来半秒以上 —— 太短的词容易认错,也可能录不进去。点「开始」,然后像平时叫我那样说一遍,说完会自动停。一共要说 %1$d 次,每次都说同一个词 —— 别刻意念得比平时清楚,不然平时那样叫我反而认不出来。</string><string name="wake_progress">%1$d / %2$d</string><string name="wake_status_enrolled">已经录过了,再录一次会覆盖。</string>- <string name="wake_status_not_enrolled">还没录过。</string>+ <string name="wake_status_not_enrolled">还没录过。想好一个词(例如「嘿 Andee」),点「开始」。</string><string name="wake_close">关闭</string><string name="wake_start">开始</string><string name="wake_listening">听着…</string>- <string name="wake_speak_now">说吧 —— 「嘿 Andee」</string>+ <string name="wake_speak_now">说吧 —— 你的唤醒词</string><string name="wake_retry">再来一次</string><string name="wake_not_heard">没听清 —— 离近一点,说完等半秒再看屏幕。</string><string name="wake_say_again">再说一次</string><string name="wake_received">收到(%1$d 毫秒)。还差 %2$d 次。</string><string name="wake_rerecord">重录</string>- <string name="wake_done">好了,亮屏的时候叫我一声「嘿 Andee」就行。(阈值 %1$s)</string>+ <string name="wake_done">好了,亮屏的时候说出你录的唤醒词就行。(阈值 %1$s)</string><!-- device/LookActivity.kt --><string name="dev_look_focusing">正在对焦…</string><string name="dev_look_seen">看到了</string>@@ -492,7 +492,7 @@<string name="check_detail_voice_host_ok">%1$s 可达。</string><string name="check_detail_voice_host_bad">连不上 %1$s:%2$s。识别和合成都会超时。</string><string name="check_detail_wake_on">已录入,亮屏时喊得醒。</string>- <string name="check_detail_wake_off">还没录。不录也能用,只是喊不醒 —— 得点球。</string>+ <string name="check_detail_wake_off">还没录。自己选个词(例如「嘿 Andee」)录 3 遍就能喊醒。不录也能用,只是得点球。</string><string name="check_detail_battery_on">已在白名单,待办闹钟不会被推迟。</string><string name="check_detail_battery_off">不在电池优化白名单里。点右边「去开启」,系统会问「是否忽略电池优化?」,选「忽略」就好。\n厂商自己的「应用启动管理 / 后台运行」是另一套,在那里怎么改这项都是红的。息屏后待办提醒会晚到,唤醒词也会停。</string><string name="check_detail_disk_ok">剩余 %1$d MB。</string>@@ -550,7 +550,7 @@<string name="wizard_welcome_body">接下来几步,把这台设备配好就能用了。每一步都需要你去开一个权限或填个设置,做完点「下一步」就行。</string><string name="wizard_wake_title">唤醒词</string>- <string name="wizard_wake_body">录一个唤醒词,亮屏时喊得醒。不录也能用,只是得点球。</string>+ <string name="wizard_wake_body">自己选个词录 3 遍(例如「嘿 Andee」),亮屏时喊得醒。不录也能用,只是得点球。</string><string name="wizard_wake_button">去录</string><string name="wizard_look_title">看一眼周围</string>diff --git a/docs/permissions.md b/docs/permissions.mdindex fe00a7c..77eba93 100644--- a/docs/permissions.md+++ b/docs/permissions.md@@ -38,7 +38,7 @@ The "What you get" column is the copy the app actually shows (`dev_perm_feature_|---|---|---|---|| Overlay<br>`SYSTEM_ALERT_WINDOW` | Overlay (my face) | The ball, the subtitles, the settings panel itself | **Nothing is visible when the app starts.** The only permission that is "off means completely unusable" || Accessibility service<br>`BIND_ACCESSIBILITY_SERVICE` | See the screen, tap the UI, type | `get_screen_element` / `tap_screen_element` / `swipe_by_coordinates` / `type_text` / `submit_input` / `take_screenshot` — all of `screen.*` | **Every screen action errors.** This is the core capability; the other permissions exist around it |-| Microphone<br>`RECORD_AUDIO` | Voice, and the "Hey Andee" wake word | Streaming ASR + on-device wake-word matching | Tapping the ball does nothing; wake-word listening does not start (and, as a side effect, the Android 12+ green dot never appears) |+| Microphone<br>`RECORD_AUDIO` | Voice, and the wake word the user enrolls | Streaming ASR + on-device wake-word matching | Tapping the ball does nothing; wake-word listening does not start (and, as a side effect, the Android 12+ green dot never appears) || Notification access<br>`BIND_NOTIFICATION_LISTENER_SERVICE` | Notification awareness (know when you get messages) | `get_notifications` | It will not know about incoming messages on its own; nothing else is affected || Location<br>`ACCESS_FINE_LOCATION` | Location (where you are / navigation) | `get_location` | "Where am I" cannot be answered || Step count<br>`ACTIVITY_RECOGNITION` | Step count | `get_step_count` | Step count cannot be answered |diff --git a/docs/permissions.zh-CN.md b/docs/permissions.zh-CN.mdindex e66854c..ccebca6 100644--- a/docs/permissions.zh-CN.md+++ b/docs/permissions.zh-CN.md@@ -38,7 +38,7 @@|---|---|---|---|| 悬浮窗<br>`SYSTEM_ALERT_WINDOW` | 悬浮窗(我的脸) | 球、字幕、设置面板本身 | **应用起来什么都看不到。** 这是唯一一个"不开就完全不能用"的 || 无障碍服务<br>`BIND_ACCESSIBILITY_SERVICE` | 看屏幕、点界面、打字 | `get_screen_element` / `tap_screen_element` / `swipe_by_coordinates` / `type_text` / `submit_input` / `take_screenshot` 等全部 `screen.*` | **所有屏幕操作报错。** 这是核心能力,其它权限都是围着它转的 |-| 麦克风<br>`RECORD_AUDIO` | 语音说话、唤醒词「嘿 Andee」 | 流式 ASR + 本机唤醒词匹配 | 点球没反应;唤醒词监听不启动(顺带:Android 12+ 的绿点也不会出现) |+| 麦克风<br>`RECORD_AUDIO` | 语音说话、用户自己录的唤醒词 | 流式 ASR + 本机唤醒词匹配 | 点球没反应;唤醒词监听不启动(顺带:Android 12+ 的绿点也不会出现) || 通知监听<br>`BIND_NOTIFICATION_LISTENER_SERVICE` | 通知感知(微信来消息我知道) | `get_notifications` | 来消息不会主动知道;其余功能不受影响 || 位置<br>`ACCESS_FINE_LOCATION` | 位置(在哪/导航) | `get_location` | 问"我在哪"答不出来 || 运动步数<br>`ACTIVITY_RECOGNITION` | 运动步数 | `get_step_count` | 问步数答不出来 |