InstallWithOptions icon indicating copy to clipboard operation
InstallWithOptions copied to clipboard

Question: could the app use Shizuku to install the apps using adb-like commands, instead of reflections to some classes and functions?

Open AndroidDeveloperLB opened this issue 1 year ago • 1 comments

It's just that reflection is seem more like a workaround. Sure it might be a bit faster than adb commands, but adb commands are reliable...

AndroidDeveloperLB avatar Jan 03 '25 09:01 AndroidDeveloperLB

Where is SDK options

murmuvikash avatar Jan 23 '25 04:01 murmuvikash

The ADB commands are just proxies for the same APIs I'm using, but more limited and less flexible. I'm not planning to replace reflection with ADB commands.

zacharee avatar Jun 07 '25 18:06 zacharee

@zacharee Are you saying it is possible? Can you please show how? Even on the tiniest sample of how to use some adb command using Shizuku? For example to check the result of this (which I know I don't need Shizuku for it):

adb shell pm list packages

I guess in some ways it's more limited and less flexible, but surely it's more reliable than functions that can change...

AndroidDeveloperLB avatar Jun 07 '25 19:06 AndroidDeveloperLB