# Show Java app guide Show Java reconstructs Java source from Android apps and compiled files and inspects APK configuration on Android 10 and newer. You can browse and export either result. Decompilation and inspection run on your device and work offline. The app is ad-free and requires no account. ## Supported inputs | Input | How to open it | Decompiler | | --- | --- | --- | | An installed Android app | **Choose an installed app** | JADX by default, with CFR and Vineflower also available | | An APK file | **Choose a file**, or use **Open with** or **Share** in another app when Android offers Show Java | JADX by default, with CFR and Vineflower also available | | A raw DEX file | **Choose a file**, or use **Open with** or **Share** in another app when Android offers Show Java | JADX | | A JAR file | **Choose a file**, or use **Open with** or **Share** in another app when Android offers Show Java | CFR by default, with JADX and Vineflower also available | The installed-app picker imports the base APK and any split APKs currently installed for that app. These can include code from feature modules and device-specific resources. Show Java analyzes the installed parts together, so the generated Java can include references between the base app and its features. Features that Android downloads on demand are included once they are installed on the device. The input limit is 2 GiB, combined across all APK parts for an installed app. Decompilation results contain reconstructed Java. Split-only resource names can remain unresolved, and full APK resource extraction and legacy ODEX decompilation are unsupported in this version. ## Decompile workspace **Decompile** is the home screen. Use **Choose an installed app** to pick an app directly, or **Choose a file** to open Android's document picker. **Ready to decompile** shows the selected input's name, size, and format. For an installed app, it can also show the package name and the APK parts copied from the device. Use **Change** to select another input. If the new import fails, the workspace keeps the previous selection. When you open or share a file from another app, Show Java prepares it in the workspace so you can review the selection before starting the job. For a JAR, an APK, or an installed app, tap the engine shown under **Decompiler**, choose CFR, JADX, or Vineflower in the **Choose a decompiler** sheet, and tap **Done**. This choice applies to the current input. Set the default for future JARs in Settings. APKs and installed apps default to JADX, which also handles raw DEX files. Turn on **Deobfuscate names** to let the selected engine rename identifiers in the reconstructed Java. Renaming varies by engine and can increase runtime and memory use on large apps. When using JADX, you can also attach a ProGuard/R8 `.txt` or JADX `.jobf` symbol mapping up to 16 MiB. Use the mapping from the same build as the input. Attaching a mapping works independently of the toggle and applies to the current input. Tap **Decompile to Java** for an APK or **Decompile** for other inputs. The job screen shows when the app is preparing the input, starting, decompiling, or saving sources. JADX jobs can show the number of classes processed once the engine has loaded its class list. You can leave the app while the job runs or tap **Cancel** to stop it. Show Java runs one job at a time. On Android 13 and newer, **Enable job notifications** appears when notifications are disabled. If you enabled **Show worker memory** before starting, the screen can also display the worker's Java heap usage and limit. After a successful job, **Decompiled** shows the number of Java files and the processing time when available. Tap **Open files** to browse the result, **Export ZIP** to save it, **View history** to see saved results, or **Choose another input** to start with a new file or installed app. Open **App options → Use current input again** to rerun the same input. The menu also opens **Settings** and **Legacy history**. ### Retry an import or decompilation - When storage is low, free space on the device and select the input or start the job again, depending on where it stopped. - If the installed app changed during copying, select it again to import its current APKs. - If a job is interrupted, tap **Decompile** again to retry. The workspace can show the last processing step. - If Vineflower runs out of memory, tap **Use CFR and retry**. The workspace may suggest a smaller input for other memory failures. Completed results remain available after a failed, cancelled, or interrupted job. ## Inspect an APK Stage an APK file or an installed app, then tap **Without decompiling → Inspect APK**. The scan reads the staged base and available splits. Tap **Open inspection report** when it finishes. The report shows package and signing information, permissions, entry points, app settings, and network policy. Tap **Coverage** to see skipped checks and missing or unreadable parts, including the missing base when you open a standalone split. **Bundled third-party SDKs** checks packaged DEX against a small offline Android SDK catalog. Expand the section to see the vendor, typical purpose, and class definitions for each match. Bundled code establishes presence only. Runtime use and data transmission are unknown. Renamed or removed classes and incomplete APK sets can hide an SDK from this inventory. [Android SDK signature sources](docs/bundled-sdk-signatures.md) Open **Findings** to filter **Review**, **Info**, and **Not checked**. Tap a finding to see its evidence and originating split. Use **Inspect APK with code signals** for an optional pass over packaged DEX for selected TLS and WebView settings. A DEX finding can open the matching source file if you decompiled the same selected APK and the source is available. Open **Report options → Export JSON** to save a versioned report with masked evidence. Use **Compare reports** in the same menu when History contains another report for the package. ## Browse hybrid code Stage an APK file or an installed app, then tap **Without decompiling → Browse hybrid code**. The browser reads the staged APK parts and lists packaged JavaScript, web assets, source maps, and Hermes bytecode. A name-based hint can appear before scanning. The browser shows the APK part and file path that support each framework label. Open the coverage row for skipped entries and incomplete parts. Open a text file to use the source viewer. **Previous** and **Next** move between byte segments in a large preview. **Format JavaScript** is optional. Use **Browse sources from map** to see the original names and the text embedded for each source. You can choose one packaged map to associate with the open bundle. Files labelled **No text in map** have no embedded source text. Open an execution-form Hermes v96 or v98 bundle and tap **Browse functions**. Select a function to read its disassembly or save it with **Export disassembly as ZIP**. The original bundle is available through **Export raw file**. Long-press a file to select it, then tap **Export raw files**. The ZIP preserves the selected bytes in folders by APK part and records the original paths and scan coverage in a manifest. To keep browsable files after replacing the staged APK, export a ZIP through Android's save picker. [Coverage and limits](docs/HYBRID_CODE.md) ## Installed apps picker Open **Choose an installed app** from the workspace, the **Change** menu, or **Choose another input**. Search by app name or package name, clear the search with the **X** inside the search field, or turn on **Show system apps** to include visible system apps. The list covers launchable apps Android makes visible in your current profile. Tap a row to import that app and return to the workspace, or close the sheet to keep the current selection. ## Observe an app’s network connections Open **App options → Network observation**, choose an installed app, and tap **Start observation**. Enable notifications and approve Android’s VPN prompt when asked. Android can run one VPN per profile. Disconnect any active VPN in Android settings before starting. Use the selected app as usual, then tap **Stop observation** here or in the notification. The connection report shows destination IP addresses and ports, first and last activity, and sent and received IP bytes, including headers. The report keeps up to 500 connections in memory on your device. **Clear session**, starting a new session, or closing the app process removes the report. The Android VPN forwards supported TCP, UDP, and ping traffic directly to the selected app’s original destinations. This uses the device’s live internet connection while decompilation and APK inspection work offline. Directly connected local subnets bypass observation, along with private and carrier-grade NAT IPv4 ranges on Android 17 and newer. TLS stays end-to-end. Android routes other apps normally. Apps with shared Android user IDs are excluded. Open connections may reconnect when observation starts or stops. Observation ends if the underlying network changes or loses internet access. The prototype supports unfragmented IP packets up to 65,535 bytes at the VPN interface. ## Result history Open **View history** from the workspace or **Manage saved results** under **Settings → Apps & storage**. **History** lists Java results and inspection reports newest first. Each row shows its type, a short summary, and the date when available. Tap a result to browse or export it. History labels results that used deobfuscation or a symbol mapping. Their ZIP exports include the same settings in `show-java-metadata.json` alongside the Java files. To remove a result, open its options menu, tap **Delete**, and confirm. Close the result and finish any active export if the app says it is in use. **Legacy history** at the bottom opens results saved by older versions. Show Java keeps the newest result plus up to nine older results sharing 256 MiB. An open result or active export can temporarily defer cleanup. Export Java sources as a ZIP or an inspection report as JSON to keep a copy outside the app's history. ## Source and file viewer Open a result and tap a folder or `.java` file in **Files**. On a narrow screen, the folder and source views appear one at a time. Use **Back** to close the file, move up a folder, or leave the result. On wide screens, the file list and source appear side by side, with the open file highlighted in the list. Use **Previous page** and **Next page** in long file lists. Source text scrolls continuously. Drag the scrollbar for large jumps or open **Source actions → Go to line…** to enter a line number. Long-press to select text, or use **Copy file** to copy a text file up to 256 KiB. Use **Wrap lines** in the toolbar to fit code to the screen or scroll horizontally. Open **Viewer settings** from the same menu to change text size, line numbers, and Java syntax highlighting. ### Export a result as ZIP 1. Tap **Export ZIP** from the completed job screen or open a result and use its export button. 2. Android's save picker suggests a name ending in `-sources.zip`. Choose a location and change the name if needed, then tap **Save**. 3. Keep the result open until **ZIP saved.** appears. The progress bar and bottom status show how many files have been written. The archive contains the result's Java files and folder structure. Tap **Cancel** to stop writing the ZIP. If the app reports an incomplete ZIP after a cancellation or error, check the destination and remove the partial file before trying again. ## Legacy history Open **Legacy history** from **App options**, **Result history**, or **Settings → Apps & storage**. Tap **Choose history folder** and grant read access to your existing `show-java/sources` folder or its `show-java` parent. Show Java remembers one valid folder across sessions. Use the same action to switch folders or restore access. Tap a listed result to browse its Java, XML, or other files. Legacy history opens the original files in place with read-only access. It offers text and binary previews. When a document provider cannot open a text file at a specific position, the viewer shows its first 8 KiB. Binary previews show up to 256 bytes. ZIP export and deletion are available for results created by the modern app. ## Settings Open **App options → Settings**. On a wide screen the sections appear beside their controls. On a narrow screen, tap a section to open it. | Section | Actions | | --- | --- | | **Appearance** | Select **System**, **Light**, or **Dark**. New installations follow the system setting. | | **Source viewer** | Choose 8, 10, 12, 14, or 16 sp for code text. The default is 12 sp. Toggle wrapping, line numbers, and Java syntax highlighting. The built-in example previews your changes. | | **Decompilation** | Set the default JAR engine, view the defaults for APK and DEX files, set the default for **Deobfuscate names**, open Android's **Job notifications** settings, and toggle **Show worker memory** for newly started jobs. | | **Apps & storage** | Toggle **Show system apps**, open **Manage saved results**, or open **Legacy history**. | | **About** | Read the **Privacy policy** and **Open-source licences** offline. Open **Report a problem** to visit the project's GitHub issues. | ## Where files are kept Show Java stores the current input copy, completed results, and preferences in private app storage. Selecting a different input replaces that working copy. Exported ZIPs and JSON reports go to the location you choose in Android's save picker. If you choose a cloud-backed location, its document provider handles storage and syncing.