Mobile app
Write and run code
Most of the screen is the editor. Everything you need sits in the bar along the bottom.
The bar along the bottom
| Control | What it does |
|---|---|
| Menu, on the left | Change language, save your work, and the rest of the options |
| The language name, in the middle | Shows which language you are writing in |
| Run | Runs what you have written |
| Settings | Version, and interactive mode |
| Output, on the right | Reopens the result of your last run without running it again |
The output control is worth knowing about. On a small screen the result gets covered as soon as you go back to the code, and this brings it back without spending another run.
Choosing a version
Open Settings and pick from the version list. It changes with the language you are in.
If a program behaves differently from how you expected, the version is worth checking before anything else. See languages and versions.
Programs that need input
Settings has interactive mode.
- Interactive mode on. The program stops and waits when it asks for something, and you type your answer as it runs.
- Interactive mode off. You fill in Stdin Input and command line arguments first, and the program reads them when it runs.
Use interactive mode when a program asks questions one at a time. Use stdin when you already know everything it needs. See giving a program input.
Zooming
Pinch with two fingers. Pinching out makes the text bigger for working on one line. Pinching in makes it smaller so you can see more of the program at once.
Where your work is saved
Saving asks where to put it, and the bar along the bottom then tells you which one you chose.
| What the bar shows | Where it is |
|---|---|
Local device: name |
On this phone only |
Jdoodle.com: name |
In your JDoodle account |
Only work saved to your account reaches the browser or another device. Anything saved to the device stays on that device, and goes with the app if you remove it.
What next
For projects with several files, libraries, or anything you want to share, use the IDE in a browser.