From c17e3a0d5127192d771f61efec4dedb25e990806 Mon Sep 17 00:00:00 2001 From: Y-Shy <55436543+Y-Shy@users.noreply.github.com> Date: Mon, 6 Jul 2020 23:50:49 +0800 Subject: [PATCH] Update Android README.md Described: 1. which to choose make or make BIT=64. 2. how to use jarvis.umdl in Android demo. --- examples/Android/README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/examples/Android/README.md b/examples/Android/README.md index e64f1e81..eb13f1c4 100644 --- a/examples/Android/README.md +++ b/examples/Android/README.md @@ -19,6 +19,8 @@ Note: make BIT=64 + For different Android phones, for example Android 4.4.4 and Android 8.0, if you don't know whether you should add BIT=64 parameter, then do make first, and then make BIT=64. + Ths will generate a cross-compiled library for ARM: jniLibs/ @@ -71,6 +73,11 @@ To run hotword detection in Java: You may want to play with the frequency of the calls to `RunDetection()`, which controls the CPU usage and the detection latency. +To use jarvis.umdl in Android demo: + + public static final String ACTIVE_UMDL = "jarvis.umdl"; // Modify this line in Constants.java + detector.SetSensitivity("0.6, 0.6"); // Modify this line in RecordingThread.java + ## Common Asks