Home >Java >Javagetting Started >How to write java on mobile phone

How to write java on mobile phone

angryTom
angryTomOriginal
2019-11-15 09:24:0010338browse

How to write java on mobile phone

How to write java on mobile phone

Usually we write java programs on the computer, rarely on the mobile phone Writing programs is inconvenient because the mobile phone screen is small, and the IDE is not as easy to use as a computer. However, mobile phones are relatively convenient. You can write code and practice your skills anytime and anywhere. Let’s introduce how to write Java programs on mobile phones.

1. Download and install the software

Software name: Java N-IDE-Android Builder-Java SE Compiler

How to write java on mobile phone

2. Enter the software

When you first enter, you will be prompted to create a project, package name, and main method class. You can also Don't create it yet. Click the icon in the upper left corner to see the project working directory, as shown below:

How to write java on mobile phone

Since the project has not been created, the directory is empty.

3. Create project method

How to write java on mobile phone

How to write java on mobile phone

The method is relatively simple, and is created in eclipse The projects are very similar.

Picture explanation:

How to write java on mobile phone

#1) After writing the project information, the system will automatically create it and distribute the package.

How to write java on mobile phone

2) We click InOut.java and write specific code. Here is the simplest example, which is to output Hello Java.

How to write java on mobile phone

Run the program (click the triangle icon)

php Chinese website, a large number of free Java introductory tutorials, welcome to learn online !

The above is the detailed content of How to write java on mobile phone. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn