Android app Info
android_app_infoCheck if an Android package is installed and retrieve its version, SDK levels, data directory, APK path, install/update times, installer, and running status using dumpsys package.
Instructions
Read the facts a device records about an installed package (dumpsys package): version name and code, min/target SDK, data directory, APK path, install and update times, the installer, and whether it is a system package — plus whether it is running right now. A package that is NOT installed is a normal answer (installed:false with a note), never an error, so this is the cheap way to check a package name before acting on it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Target adb serial. Defaults to the streamed device, else the only online one. | |
| package_name | Yes | Android package to inspect, e.g. "com.android.settings". |