July 1, 2020

16:29

Android app development: Be forced to use an excessively complex build system that tries to squeeze every byte out of your compiled code like it’s 1980, then adds a compat library that’s 10 times the size of the actual app.

sigh

Just because I need to probe devices with DummyDroid. Currently, I gather the needed information d by pushing a tiny DEX file (~50kb) to the device and talk directly to the various system services via IBinder (that’s what shell tools like pm do, too). But of course, for some strange reason, the AIDL files are not standardized, so this solution is unstable. I really need a Context, a Context can only be build by an ActivityThread and there’s no way to start one directly from ADB - the whole system was designed by lunatics.