Home  >  Article  >  Java  >  How to write app in java

How to write app in java

藏色散人
藏色散人Original
2020-05-21 11:06:359712browse

How to write app in java

How to write an app in java?

Using Java (APICloud) to develop mobile APP

Mobile development has become very popular in recent years, but ios has its own language, although Android can use it Java development also requires downloading plug-ins from Google, which always feels inconvenient. As a Java developer, is there any software that can quickly develop APPs using Java language? Recently I saw my colleagues in the company using APICloud to develop apps, and it was really convenient for me to learn it.

Recommendation: "java learning"

In my understanding, APICloud is like a SVN, but you can not only save and share code on APICloud, but test every time Or publish, you must go to APICloud's official website to compile.

So you can test directly on your phone through the APILoader tool.

Now I will introduce the preparation companies using APICloud and how to use Java for development.

1. First, you need to download APICloud and search it online.

Open APICloud.exe and go to the official website to register.

If your development team is already using APICloud for development, you need to ask the administrator of your team to add your APICloud account to their development group so that you can see and download the results they developed. Source code is available.

Now open the APICloud application, you can find that it is very similar to Eclipse. It is originally used by Java developers, which is understandable. I won’t introduce the usage here.

If you have been added to the development team, open the SVN tool and you can see the existing code in the team without setting it up.

How to write app in java

2. Code acquisition, modification and submission:

Obtain the code through SVN. The code is mainly composed of HTML and JS. Call AJAX through JS to obtain the background. data. In fact, the backend still needs to be implemented in Java and made into a Restful interface to provide to the front end.

In terms of MVC, you can understand that APICloud is responsible for the V layer, and the M and C layers need to be developed by yourself using Eclipse.

It's a bit like the development method of separating front and backend.

After modifying the code, you need to submit it to the APICloud server through cloud synchronization → Submit in the project right-click menu.

How to write app in java

3. Compile: Log in to http://app.apicloud.com/, after the login is complete → Team collaboration → Select the project to be compiled from the project list on the left → Cloud Compile → Select ios or Android and perform cloud compilation. After compilation, you can read

How to write app in java

How to write app in java

##4. Test preparation: Log in to http:/ /app.apicloud.com/, after logging in → Team Collaboration → Documentation → Download → APILoader → Download the mobile APP

5. Test: Open APILoader, there is a dot in the screen to set the address and parameters ( The server port number and address can be viewed in APICloud → Help → View WiFi real device synchronization server address)

How to write app in java

In APICloud, select the project and right-click and select WiFi real device synchronization /USB real device synchronization, at this time the APILoader on the mobile phone will automatically download the APP file, and you can use the APP after the download is completed.

How to write app in java

For development help, please refer to the help document opened by APICloud → Help → WiFi Real Device Synchronization Instructions

In fact, APICloud is a set of development tools for the front page. It helps you compile and publish it so that you can access it with APP.

The above is the detailed content of How to write app in java. 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