Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Onyx Boox

Notices

Reply
 
Thread Tools Search this Thread
Old 02-04-2022, 10:07 AM   #1
llinfeng
Enthusiast
llinfeng is on a distinguished road
 
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:
  • action.enable.all.tp.region as Broadcast intent that enables "Finger Touch", and
  • action.disable.tp.exclude.bar.region as Broadcast intent that disables "Finger Touch"

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.
llinfeng is offline   Reply With Quote
Old 02-04-2022, 12:40 PM   #2
Renate
Wizard
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
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.
Renate is online now   Reply With Quote
Old 05-10-2022, 11:02 AM   #3
llinfeng
Enthusiast
llinfeng is on a distinguished road
 
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.)
  • 25 - Volume Up
  • 24 - Volume Down
  • 134 - Full screen refresh
  • 136 - Toggle backlight on/off
  • 135 - Take a screenshot
  • 92 - page up
  • 93 - page down
  • 131 - Toggle Menu
  • 138 - Home page
  • 132 - Back button
  • 21 - Page up
  • 22 - Page down
  • 20 - decrease font size by 1 (Neoreader specific)
  • 19 - increase font size by 1 (Neoreader specific)



Source: User MAI from the Boox Lumi user group on Wechat. Here is MAI's original notes written in Chinese, as linked.
llinfeng is offline   Reply With Quote
Old 05-10-2022, 11:54 AM   #4
Renate
Wizard
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 2,385
Karma: 10000009
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
Augmented, annotated and sorted:
  • 19 - Increase font size by 1 (Neoreader specific) (DPAD_UP)
  • 20 - Decrease font size by 1 (Neoreader specific) (DPAD_DOWN)
  • 21 - Page up (DPAD_LEFT)
  • 22 - Page down (DPAD_RIGHT)
  • 25 - Volume Up (VOLUME_UP)
  • 24 - Volume Down (VOLUME_DOWN)
  • 92 - Page up (PAGE_UP)
  • 93 - Page down (PAGE_DOWN)
  • 131 - Toggle Menu (F1)
  • 132 - Back button (F2)
  • 133 - Display control (F3)
  • 134 - Full screen refresh (F4)
  • 135 - Take a screenshot (F5)
  • 136 - Toggle backlight on/off (F6)
  • 138 - Home page (F8)
  • 139 - Display control (F9)
  • 140 - Refresh settings (F10)
  • 142 - Brightness settings (F12)
Renate is online now   Reply With Quote
Old 04-22-2024, 12:35 AM   #5
Alex34
Junior Member
Alex34 began at the beginning.
 
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?
Alex34 is offline   Reply With Quote
Old 04-22-2024, 09:07 AM   #6
Renate
Wizard
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 2,385
Karma: 10000009
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
Quote:
Originally Posted by Alex34 View Post
Does anybody know how to send a key combination?
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:
Originally Posted by Alex34 View Post
That is the smallest drink that I've ever seen a human holding!

Quote:
Originally Posted by Alex34 View Post
Or does anyone know an intent for this?
Code:
/* Multi-window - kind of funky */
am broadcast -a com.onyx.action.START_MULTI_WINDOW
am broadcast -a com.onyx.action.QUIT_MULTI_WINDOW
Renate is online now   Reply With Quote
Old 04-27-2024, 01:05 AM   #7
Alex34
Junior Member
Alex34 began at the beginning.
 
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:
am broadcast -a onyx.android.intent.send.key.event --ei key_code M71
[am broadcast -a onyx.android.intent.send.text --ei text M71
But it's not working. I also tried a lot of things with Tasker, but the CMD key is not working through Tasker on my Note Air 1.

Do you have any further Idea?
Alex34 is offline   Reply With Quote
Old 04-27-2024, 07:55 AM   #8
Renate
Wizard
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 2,385
Karma: 10000009
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
Quote:
Originally Posted by Alex34 View Post
But it's not working.
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.
Renate is online now   Reply With Quote
Old 04-30-2024, 02:05 PM   #9
Alex34
Junior Member
Alex34 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2024
Device: Onyx Boox Note Air 1
I exported the APK with apk-analyzer app and uploaded it here:

https://we.tl/t-Y70TerzJrC
Alex34 is offline   Reply With Quote
Old Yesterday, 01:18 PM   #10
Alex34
Junior Member
Alex34 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Apr 2024
Device: Onyx Boox Note Air 1
Quote:
Originally Posted by Renate View Post
adb pull a copy and post it somewhere, please.
Have you already had the chance to download the file? The Download Link is only valid for another 3 days.

Thank you in advance for your Help!
Alex34 is offline   Reply With Quote
Old Yesterday, 02:38 PM   #11
Renate
Wizard
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 2,385
Karma: 10000009
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5
Quote:
Originally Posted by Alex34 View Post
Have you already had the chance to download the file?
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"
Renate is online now   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 09:27 PM.


MobileRead.com is a privately owned, operated and funded community.