View Single Post
Old 07-07-2022, 05:42 PM   #9
llinfeng
Enthusiast
llinfeng is on a distinguished road
 
Posts: 38
Karma: 58
Join Date: Jan 2019
Device: Kobo, Kindles, Sony DPTs, QQ-Read
A collection of adb shell commands for activating Note/NeoReader/OneNote

Quote:
Originally Posted by winstonma View Post
Code:
dumpsys package | grep Activity | grep com.onyx.kreader
This command shows the activity running on the screen. But this doesn't always work (e.g. Neoreader doesn't work). This method should allow you to know how to open Notes app too.
Thanks again. With the one-liner you suggested, I was able to uncover a few more useful things (from a Lumi 2 running 3.2.3):

* Open the `App Store`: `adb shell am start -n com.onyx.appmarket/.activity.AppMarketActivity`
* Activate OneNote: `adb shell am start -n com.microsoft.office.onenote/.ui.EntryActivity`
* Switch to Notes (this is not the normal notes interface, but usable): `adb shell am start -n com.onyx.android.note/.note.ui.InsertImagesActivity`
* Open "Wiktionary" (or ther search tools) that happens to be part of NeoReaderd: `adb shell am start -n com.onyx.kreader/com.onyx.android.sdk.translate.ui.web.WebQueryWord Activity`

(I don't see a good way to typeset inline code, so I kept the raw Markdown markers.)
llinfeng is offline   Reply With Quote