02-04-2022, 10:07 AM | #1 |
Enthusiast
Posts: 38
Karma: 58
Join Date: Jan 2019
Device: Kobo, Kindles, Sony DPTs, QQ-Read
|
Collection of intents that work for Boox devices?
Is there a compiled list of intents that work for Boox devices? For example, thanks to lvlrdka22's post here, we have:
For example, useful intents may include: rotate the orientation by 90/180/270 degrees, show/hide the navigation ball (as it may disappear from time to time), and start/stop screencasting. |
02-04-2022, 12:40 PM | #2 |
Wizard
Posts: 2,385
Karma: 10000009
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
|
Code:
/* Dialogs */ am broadcast -a action.show.brightness.dialog am broadcast -a com.onyx.action.show.contrast.dialog am broadcast -a com.onyx.action.show.refreshmode.dialog am broadcast -a com.onyx.action.SHOW_ROTATION_LOCK_DIALOG_ACTION am broadcast -a onyx.android.show.global.dialog /* Rotation */ am broadcast -a com.onyx.action.ROTATION --ei rotation 0 am broadcast -a com.onyx.action.ROTATION --ei rotation 1 am broadcast -a com.onyx.action.ROTATION --ei rotation 2 am broadcast -a com.onyx.action.ROTATION --ei rotation 3 /* Screenshot */ am broadcast -a onyx.android.intent.screenshot /* Injection */ am broadcast -a onyx.android.intent.send.key.event --ei key_code <keycode> am broadcast -a onyx.android.intent.send.touch.event --ef tap_event_x <x> --ef tap_event_y <y> /* Multi-window - kind of funky */ am broadcast -a com.onyx.action.START_MULTI_WINDOW am broadcast -a com.onyx.action.QUIT_MULTI_WINDOW Last edited by Renate; 02-04-2022 at 06:41 PM. |
05-10-2022, 11:02 AM | #3 |
Enthusiast
Posts: 38
Karma: 58
Join Date: Jan 2019
Device: Kobo, Kindles, Sony DPTs, QQ-Read
|
Here is a list of keycodes, serving in complement to the list of intents. (One way to make use of these keycodes is to map other keys on a BT-controller to simulate the keycode in the list, using Button Mapper.)
Source: User MAI from the Boox Lumi user group on Wechat. Here is MAI's original notes written in Chinese, as linked. |
05-10-2022, 11:54 AM | #4 |
Wizard
Posts: 2,385
Karma: 10000009
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
|
Augmented, annotated and sorted:
|
04-22-2024, 12:35 AM | #5 |
Junior Member
Posts: 4
Karma: 10
Join Date: Apr 2024
Device: Onyx Boox Note Air 1
|
Does anybody know how to send a key combination? I need the Key Codes 117 + 71 (which is CMD + [).
Here is what it does: https://shop.boox.com/blogs/news/12-...=pocket_mylist (#7) Or does anyone know an intent for this? |
04-22-2024, 09:07 AM | #6 | |
Wizard
Posts: 2,385
Karma: 10000009
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
|
Yes/no. The "input keyevent" can not "hold" modifier keyers.
The "input text" can manipulate the shift key implicitly. With my injectd (not released) I can "echo M71 > /dev/inject". (M = Meta) Quote:
Code:
/* Multi-window - kind of funky */ am broadcast -a com.onyx.action.START_MULTI_WINDOW am broadcast -a com.onyx.action.QUIT_MULTI_WINDOW |
|
04-27-2024, 01:05 AM | #7 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Apr 2024
Device: Onyx Boox Note Air 1
|
Hey, thanks for your answer.
The intents are working perfectly to start and quit splitscreen. But in fact with the key combinations CMD+[ and CMD+] you can change the ratio of the splitscreen to 25/75%, 50/50% or 75/25% of the screen width. That is why I am looking for a way to simulate the key presses. I tried Quote:
Do you have any further Idea? |
|
04-27-2024, 07:55 AM | #8 |
Wizard
Posts: 2,385
Karma: 10000009
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
|
Sorry, that "M71" stuff was only applicable to my injector.
I presume that that stuff is in SystemUI.apk but I've only got a Poke3 and a Poke5 and they don't seem to support split screen. It's probably in /system_ext/priv-app/SystemUi/SystemUi.apk adb pull a copy and post it somewhere, please. |
04-30-2024, 02:05 PM | #9 |
Junior Member
Posts: 4
Karma: 10
Join Date: Apr 2024
Device: Onyx Boox Note Air 1
|
|
Yesterday, 01:18 PM | #10 |
Junior Member
Posts: 4
Karma: 10
Join Date: Apr 2024
Device: Onyx Boox Note Air 1
|
|
Yesterday, 02:38 PM | #11 |
Wizard
Posts: 2,385
Karma: 10000009
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
|
Oh, you got me confused with your "App Analyzer" and that website gives me big silly photos of people.
Well, there is only so far down this rabbit hole that I want to go. The start intent does stuff, but you need to experiment with the extras. Code:
== Action == com.onyx.action.START_MULTI_WINDOW == Extras == int "primary_task_id" int "args_primary_task_create_mode" int "args_multi_windowmode" int "args_spilt_screen_layout_type" boolean "args_primary_task_to_top" boolean "args_ignore_window_mode_check" Bundle "compat_m_args_secondary_task_bundle" |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
App Icons for Boox Devices | triumph627 | Onyx Boox | 13 | 04-23-2021 07:58 AM |
Boox releasing 5 new devices | Crowriver | Onyx Boox | 105 | 10-07-2020 08:47 AM |
[GUIDE] OTG devices with Onyx boox | utkarshj | Onyx Boox | 36 | 05-19-2020 12:27 PM |
Separate collection for devices | bump | Library Management | 0 | 01-14-2017 03:23 PM |
Calibre work with two different devices? | BrentB | Devices | 4 | 11-18-2011 09:22 AM |