Online Compiler (Beta) is a free compiler app for Android that allows you to write and execute code on Android in more than 23 programming languages. It uses the internet connection to run code in these programming languages which includes C++, Python, Java, MySQL, VB.Net, etc. The best part is that you can work with multiple code files and save them on your phone. This allows you to write code on the go and then export these code files in any IDE. In addition to this, you can easily switch between any of these supported programming languages.
I also want to share another Android app from which you can read and download documentation of 140+ programming languages. If you are new in coding then you can use this app to download documentations of programming languages in which you are interested in and then use the online Android compiler that I have reviewed here to practice coding right from your smartphone.
How to use this free Android compiler app to code in your favorite language:
Download this Compiler for Android from the link the link provided at the end of this review. After that, open it and select a programming language from the app menu, as shown in the screenshot below.
After that, you will see its code editing interface, as shown in the main screenshot of the app. You can write your code here and execute it. It also gives you the option to choose between two themes i.e. light and dark, increase/decrease text size, clear all text in the editing screen, etc. The code is displayed with proper indentation and line numbers. Once you have written the code, tap on the “RUN” button to compile the code. As I mentioned, it requires an internet connection to compile the code, make sure your phone is online. If your code is correct, you will see the program output in the OUTPUT tab of the main screen, as shown below.
If your program requires a user input, it will show you a dialog box to enter input before compiling. If your program requires the same type of input then you can save the input and use the same input for every program run. Enable the “Save Input” option in the INPUT dialog box to use this feature.
If you want to write an another program then you can create a new file from the app menu. Tap on the “NEW FILE” option and then specify the file name. After that, you can switch between the multiple code files from the app menu. Do note that, you can’t work on multiple files of different programming languages at once.
The program files are automatically saved and can be found at the location specified under the files name in the app menu. You can also open the saved files to continue code from where you last left off from the “OPEN FILE” option of the app menu.
Programming languages supported by Online Compiler (Beta):
- PHP
- Swift
- Scala
- MySQL
- Python
- C
- C++
- C#
- Java
- Objective-C
- Perl
- NodeJS
- Ruby
- R
- VB.Net
- Pascal
- Clojure
- Bash
Verdict:
If you want to code in multiple languages from a single Android app then Online Compiler is one of the best options available for free. Its intuitive interface allows you to quickly switch between multiple code files and execute them. The compiling process is also fast and will work smoothly even on slow internet connections.