Featured Post

How to capture long screenshot of apps and website on Android?

Image
Usually, you can take screenshot of only visible area on your display. But what if you could capture screenshot of the app by scrolling up and it will automatically keep capturing the long screenshot until you scroll up. Well, it's easy. In some devices, there is built-in feature called Super Screenshot or Long Screenshot which can capture long screenshot by scrolling up. If your device don't have these features, don't worry, I am going to share best trick to take long screenshot on any Android device. In this tutorial, I am going to share a useful Android app which can be used to take long screenshot of any apps or stitch multiple screenshots into one. The name of the app is LongShot for long screenshot . This is my favorite app to take long screenshot on Android phone. For taking long screenshot, the view must be scrollable. Example, you can take long screenshots on Facebook, Messages, Twitter and any apps which can be scrolled vertically. You can also take the s...

How to run Java programs offline on your Android?

Run Java Programs Offline On Your Android

Java is a open-source, object oriented, cross platform, popular, secure, fast and powerful programming language. Java is used in Android app development, desktop apps, web app, web servers, games, database and much more.

In this tutorial, you'll learn how you can code and run Java programs on your Android device. Here, I am going to discuss about the 5 best, free and offline Java IDEs for Android. You can easily download and install these apps from Play Store and start coding Java on your Android Device right away.


1. Jvdroid

Jvdroid - IDE for Java is a free, powerful and offline Java IDE and compiler for Android devices. Jvdroid allows you to compile and run your Java programs on your Android without internet connection needed. It comes with lots of features like editor themes, full featured terminal emulator, interpreter, one click share your code to pastebin and many more.

Download and Install Jvdroid

Click here to download and install Jvdroid from Play Store.

Writing Java Programs in Jvdroid

Jvdroid provides a full featured editor to write programs. You can write Java program on the editor.
Writing Java Codes in Jvdroid

Compiling Java Programs in Jvdroid

After writing a Java program, you can compile and run it to see its output. To run your program, press the ▶ button to run your code. If your code does not contain any errors, than you can see its output on the terminal.
Java Code Output in Jvdroid


2. Java N-IDE

Java N-IDE - Android Builder - Java SE Compiler is a free, powerful and offline Java IDE and compiler for Android devices. This app is completely free and open-source. Using Java N-IDE, you can easily write and compile Java programs offline in your Android.

Download and Install Java N-IDE

Click here to download and install Java N-IDE from Play Store.

Creating a project

Before writing and compiling Java programs in Java N-IDE, you need to create a project or open an existing project. To create a project, you need three things i.e. Project Name, Package Name and Main Class Name. Fill all the fields and click OK. Your project will be created successfully.
 Creating A Project In Java N-IDE

Opening a program

After creating a project, you can open your program file and start writing Java programs.
Opening A Program From a Project In Java N-IDE

Writing Java Programs in Java N-IDE

Java N-IDE provides you a full featured editor where you can write Java programs.
Writing Java Codes in Java N-IDE

Compiling Java Programs in Java N-IDE

After writing a Java program, you can compile and run it to see its output. To run your program, press the ▶ button to run your code. If your code does not contain any errors, than you can see its output otherwise you will see details of error in the console.
Java Code Output in Java N-IDE


3. AIDE

AIDE is also a free and offline Java IDE and Compiler for Android. You can write and run Java programs on your Android using AIDE. It comes with lots of features like live error checking and suggestions, autocomplete, syntax highlight, building Android apps with Java and XML, offline compiling code and many more.

Download and Install AIDE

Click here to download and install AIDE from Play Store.

Writing Java Code In AIDE.

To write programs on AIDE, first create a Java project from Menu > Code for experts > ⠇(3 dots) > Create new Project... > Java Application > New Java Application > Enter name for your project and click CREATE. You are ready to write Java programs.
Writing Java Code In AIDE

Compiling Java Code In AIDE

After writing a program, press ▶ to run your Java program. If your program does not contain any error, it will show output in the console. Otherwise, it will show details of error in your program.
Java Code Output In AIDE


4. Jstudio

Jstudio - ide for java is a free and offline Java IDE for Android. You can use Jstudio to write and run Java programs in your Android. This IDE comes with lots of features like Autocomplete, syntax highlight, built-in file manager, real time error checking, terminal and many more.

Download and Install Jstudio

Click here to download and install Jstudio from Play Store.

Writing Java Programs in Jstudio

You can write Java programs on the editor.

Compiling your Java Programs in JStudio

After writing Java program, save it and press ▶ to execute your program. If your program does not contain any error, it will show output on the console.
Compiling Java Program in JStudio


5. Code Studio

Code Sudio is also a free and offline Java IDE and Compiler for Android. All the features of this IDE is similar to Jstudio because both of these app is made by the same developer. But Code Studio comes with more features.

Download and Install Code Studio

Click here to download and install Code Studio from Play Store.

Writing Java Programs in Code Studio

You can write your Java program on the editor.
Writing Java Program in Code Studio

Compiling your Java Programs in Code Studio

After writing Java program, save it and press ▶ to execute your program. If your program does not contain any error, it will show output on the console.
Compiling Java Program in Code Studio


Conclusion

This is the list of best, free and offline Java IDE and Compilers for Android devices. If you are interested to write and compile Java programs on your Android device, download any one of these IDEs and start coding Java on your Android phone.

Comments

Popular posts from this blog

How to capture long screenshot of apps and website on Android?

How to capture long screenshot of apps and website on Android?

How to run VB.NET programs offline on your Android?