Gallery
About
Hi HN, I’m Hal, the CTO at App Dev for All. I wanted to share a technical problem we worked on over the past year and how we approached it.We’ve been building Code on the Go, a full-featured IDE that runs entirely on an Android phone. No laptop, no ADB connection, no cloud build server. It compiles projects locally on the device using Gradle, supports Java and Kotlin with LSP, and includes a debugger that runs on the same phone as the app being tested.The most interesting and challenging part ended up being the debugger. The Android OS has a rigorous security model, which can get in the way of traditional inter-process communication. Android debugging assumes ADB, which assumes two machines. We bypassed ADB entirely, attaching the JDWP agent to the target process at launch and routing its output to our debugger over a local socket. We used a scoped adaptation of the Shizuku project to get the necessary system access without requiring root.We also had a few other technical challenges with Code on the Go: Sketch-to-UI (generates Android XML from a photo of a hand-drawn layout, runs fully offline with Yolo), an optional Gemini-powered coding agent (opt-in, requires your own API key), and a plugin system with isolated class loaders.One of our pre-release community members has used it to build and publish a Sinhala/English keyboard app to the Play Store, built entirely on his phone. This served as our test case for Play Store compatibility.We are a philanthropic venture. No ads, no tracking, no subscription. License is GPLv3.APK: http://appdevforall.org/codeonthego Source: http://github.com/appdevforall/CodeOnTheGoHappy to answer questions on the implementation.
Comments (2)
phone screen is way too small for real coding
does on-device debugging tank the battery or is it actually usable
Related Products
Free Currency Converter API
Limestone Digital
AI-Powered Software Development, Engineering Team Augmentation,
ChangeSpec
MobileGym: A Verifiable and Highly Parallel Simulation Platform for Mobile GUI A
IronFile - Completely Customizable
Turnkey Industrial SaaS Platform (80k+ LOC) • 12 Enterprise Connectors
Technologies.lat
Quality Assurance for software that is here for the long run
ComingUp