View Single Post
Old 07-06-2022, 11:35 PM   #8
winstonma
Zealot
winstonma format shifts faster than booting Windowswinstonma format shifts faster than booting Windowswinstonma format shifts faster than booting Windowswinstonma format shifts faster than booting Windowswinstonma format shifts faster than booting Windowswinstonma format shifts faster than booting Windowswinstonma format shifts faster than booting Windowswinstonma format shifts faster than booting Windowswinstonma format shifts faster than booting Windowswinstonma format shifts faster than booting Windowswinstonma format shifts faster than booting Windows
 
Posts: 111
Karma: 120918
Join Date: Nov 2013
Device: Onyx Boox Nova
Quote:
Originally Posted by llinfeng View Post
Great, it works - should I have recently opened a PDF file using the NeoReader, the adb shell command brought me back to the file! This serves my need perfectly!

Though, how did you figure out the "/com.onyx.kreader.ui.ReaderHomeActivity" bit? When I went into the adb shell, tab-completion never worked, and I wonder what's the proper procedure to "discover" the proper command to issue.

Oh, one funny thing - I also tried to contact Boox support asking them to complete the list of intents. They asked me to read their GitHub repo for the SDK instead ... lol
Just open the App and run the following command (replace com.onyx.kreader with the package name of your app):

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.

Last edited by winstonma; 07-07-2022 at 12:14 AM.
winstonma is offline   Reply With Quote