Open backupandforkacc opened 2 years ago
I don't see the message "Can request only one set of permissions at a time" in my logs, e.g. when I launch the latest Kõnele-service from Android Studio into the emulator. So, if possible, can you provide more information:
In general I've tested with Android 11 and with a few earlier versions. Assigning the "when using the app" type of permission should be OK. It might work better if you assign the permissions directly via the system menu, rather than via the Kõnele-service and Kõnele popups (but these should also work, of course).
Took some time to test ist properly.
I cannot test anything else right now other than a Pixel 2 with Android v11.
I tested Kõnele v1.7.56 with Kõnele Service, df968c3a98bbaa159e533725b72dbb9c49e1515d (compiled and installed via Android Studio) and The Kõnele service v0.1.00 release
With the official release, the browser opens with the text K6_Y_BTN_MIC_Longpress
Instead of the Kõnele v1.7.56, I also used the keyboard, but brings me to the same error. I cannot test with
Generating strings like K6_Y_BTN_MIC_LONGPRESS
is a feature of Kõnele (not Kõnele-service). This happens when you long press on the microphone button. Also swipes on the microphone button are supported, e.g. a down-swipe would generate K6_Y_BTN_MIC_DOWN
. The idea is that you can remap these strings to some useful strings (e.g. search queries that you often use) or even actions (IME commands or Intent calls), by using rewrite rules (e.g. https://docs.google.com/spreadsheets/d/1h7IZFTzfVQH808laHl5ekt7JJnhXgjidnVAOdklmXPs/edit?usp=sharing). This is documented (in Estonian) in http://kaljurand.github.io/K6nele/docs/et/user_guide.html#lausung-kui-nupuvajutus
A single press on the microphone button starts/stops/cancels recording. This behavior cannot be remapped in the current version. Also, you cannot currently (via the rewrite rules) map the long press to a press-and-hold recording button behavior.
Is the issue that you are trying to start the recording by long pressing? In this case press shorter. Or is the issue that the long press is always triggered for some reason, even if you press short? (In any case this does not seem to be an issue with Kõnele-service.)
I recursively cloned the folder as recommended in the readme. I build the App in Android Studio and gave it a run. When starting the service via a keyboard, the window for K6nele opens, but shows a message "insufficient permission". In the settings, I can only give permission "once" or "when using the app". I set it to "when using the app".
Could you please add some info with which systems you have tested the service? I do not use google playstore or else I would test this app.
Here is the logcat: