The scenario: an application ID does not describe every build input
Two Android packages can share a debug application identifier while carrying different implementations and generated values. A handover based only on that identifier can miss the distinction between a default build and an intentionally synthetic demo build. This chapter compares two privately retained unsigned APKs from the same pinned app inputs.
The earlier experiment built the default debug configuration with signing explicitly disabled. The new experiment enables selected mock and demo-camera properties and supplies a loopback base URL. Both builds remain local research artifacts. The comparison examines manifest identity, defined classes and selected bytecode fields/instructions; it does not install either app or exercise a server, camera or wallet provider.
Preserve the baseline before another build replaces its output
The baseline APK is copied to a private hash-named artifact path and checked against its retained digest before the new build starts. The project output directory may be reused by Gradle, so that mutable location is not the comparison's only copy of the earlier bytes. The baseline's source, environment and inspection receipts remain separate.
All 593 original selected app and Gradle inputs are checked against their pinned hashes before the new invocation. The private signing override is unchanged. This establishes a controlled comparison of supplied build properties against retained inputs rather than a comparison of two loosely identified working trees. The product checkout stays read only throughout the experiment.
Record the local variant properties as inputs
The new build supplies mock and demo-camera flags plus an explicit loopback base URL. It uses offline dependency resolution, two workers and the bounded JVM configuration from the baseline. The environment omits signing variables, and the private init script disables signing. The actual debug assembly succeeds and produces another unsigned APK.
The loopback address is a configuration string, not a contacted service. No server starts, and no app launches. The earlier configuration chapter separately observed selected production-URL flag refusals. Those guard observations remain distinct from this successful local-property build; neither result is treated as a current production deployment acceptance.
Read package identity and content separately
SDK manifest inspection reports the same debug application ID for both artifacts. Their digests and byte sizes differ. Both containers pass the selected ZIP integrity checks and contain nineteen DEX files. These observations identify the packages and establish selected container properties before examining their classes.
The comparison does not interpret the byte-size difference as a performance result, download benchmark or complete explanation of every changed entry. It also does not use the shared ID to infer signing compatibility or installed-app identity. A package identifier, a byte digest and a signature each answer different handover questions.
Parse defined-class entries rather than every printed node
The SDK analyzer's defined-class output includes a tree with package, class and member entries. The comparison accepts only class entries marked defined. It derives seven selected mock-like class/object names from the pinned mock implementation source, qualifies them with their declared packages and compares those identities with each artifact's defined classes.
None of those seven definitions appears in the default artifact; all seven appear in the local variant. This is a bounded positive/negative class comparison, not an exhaustive definition of every possible mock or synthetic behavior. It does not inspect runtime responses, generated data or every dependency. The Android analyzer's primary documentation describes the output categories used to keep the parser's scope explicit.
Inspect the registry field in the compiled artifacts
The selected registry class exists in both APKs. Its SDK bytecode output reports the availability field as false in the default artifact and true in the local variant. This distinguishes two implementations sharing the same class identity instead of assuming that presence of the registry class alone proves its behavior.
The observation concerns the field representation in these compiled bytes. It does not invoke a registry method, verify a real service call or certify that every caller follows the intended selection. Source-level intent, compiled definitions and actual runtime dispatch remain separately reviewable. No service instance is created by the inspection commands.
Compare the demo-camera factory and selected capturer definition
The default artifact lacks the selected test-card capturer class. The local variant defines it. The inspected demo-camera factory bytecode in the local artifact contains the selected construction instruction for that capturer, while the default factory does not. This connects the configured camera source choice to a specific compiled difference.
It does not produce a frame or inspect a physical camera. Thread lifecycle, frame conversion, memory ownership, permissions and the calling consultation workflow remain untested here. A defined class and a construction instruction cannot establish that a device actually selected that factory or displayed the intended synthetic output. Those requirements belong to a permitted installed acceptance.
Read the selected base-URL field without testing connectivity
The generated configuration class contains the source's default product URL in the baseline and the supplied loopback URL in the local variant. The comparison checks the selected compiled string field in each APK. This is more specific than recording command-line arguments alone: the expected values are observed in the produced artifact.
No connectivity, server identity, authentication or API compatibility follows from that string. The app is not launched, and neither address is requested. A network acceptance must bind an installed artifact to its intended permitted server and synthetic account contract. This chapter establishes only the selected generated configuration value in each retained package.
Confirm the unsigned boundary and preserve both artifacts
The SDK signature verifier gives the selected non-verification result for both APKs, consistent with the deliberate signing override. The inspection checks the result and exit status rather than accepting any failed command as equivalent. No signing key is read or used. Each artifact's digest remains unchanged after the read-only commands.
The local variant is then preserved at its own private hash-named path. Its logs and comparison receipt are kept apart from the baseline. Nothing is promoted to a public app download or store channel. The observations add zero to the programme's test-case counter; the new contribution is a substantive artifact-comparison scenario with reproducible inputs and inspection boundaries.
Handover for demo and release teams
Retain both artifact digests, the exact property set, source-hash manifest, signing override and SDK outputs. A reviewer can now distinguish shared package identity from selected differences in definitions, registry fields, generated values and factory instructions. That is a concrete basis for deciding which artifact belongs in a synthetic demonstration workflow.
Before describing a distributed medical app, separately accept the intended signed release, installed selection paths, permitted server interactions and required clinical workflows. Current production version, device camera behavior, provider readiness, exhaustive synthetic-data isolation and operational costs remain unverified by this comparison. The evidence here concerns two local unsigned debug artifacts and the selected differences actually observed between them.
Compare the reviewed boundaries
Shared identity, selected compiled differences
On smaller screens, scroll across to compare every column. Keyboard users can focus the table and use the arrow keys.
| Observed boundary | Default debug artifact | Local mock/demo artifact |
|---|---|---|
| Application ID | Same debug ID | Same debug ID |
| Selected mock class definitions | 0 of 7 | 7 of 7 |
| Test-card capturer definition | Absent | Present |
| Registry availability field | false | true |
| Selected factory construction instruction | No test-card construction | Test-card construction present |
| Generated base URL | Product-default string | Supplied loopback string |
| Signature / installed runtime | Unsigned; not launched | Unsigned; not launched |
Additional implementation references
These provider references explain current implementation context. Historical Movo-X observations remain tied to the source records described above.
About this engineering series
Written by Omer Muneer Qazi from a review of Movo-X implementation and dated engineering records. This article explains source behaviour and historical observations; current production, clinical outcomes and store availability require their own verification. Examples are synthetic and proposed test cases are identified as such.
Explore the Movo-X engineering series → · Related implementation experience →
Discuss a similar engineering problem
Send the workflow, current platform and the decision your team needs to make. I can help define an implementation or review scope with concrete acceptance evidence.
Discuss your project on WhatsApp ↗