Where to download Android app development tools
Look for motodev, this is very good
To be foolproof, it’s better to use APPMAKR
This is all web tools, no need to download, directly visit http://www.appmakr.com
Register for an account, and you’re done. Follow the prompts to do it
There is also one in China, http://app.zhui.cn/
Five steps to complete the deployment of the Android development environment
The first step: install the JDK
To download Oracle’s JDK, you can Baidu “JDK” into the Oracle JDK download page (download page address ). page (the download page address is http://www.oracle.com/technetwork/java/javase/downloads/index.html), choose the corresponding version of your computer system can be.
Double-click to install the JDK after downloading it to your local computer. After the JDK is successfully installed by default, two folders will appear in the system directory, one representing jdk and the other representing jre.
Step 2: Configure the variable environment of JDK for Windows
Right-click on “My Computer” and select “My Computer”. “, select “Properties”, in the open window click on the left side of the “Advanced System Settings”, the “System Properties” window appears, in the Click on “Environment Variables” under the “Advanced” tab.
In order to configure the JDK’s system variables, you need to set three system variables, JAVA_HOME, Path, and CLASSPATH, and the following is a precautionary approach to setting them.
First set the name of this system variable, the value of the variable for the JDK installation path on the computer: C:\ProgramFiles\Java\jdk1.8.0_20. After the creation of a good can be utilized as a unified reference to the path of the JDK installation directory %JAVA_HOME%.
The PATH attribute already exists and can be edited directly by appending: ;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin to the original variable.
Set the system variable named: CLASSPATH variable value is: . ;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar.
Note that the variable value string has a “.” in front of it to indicate the current directory. indicates the current directory. The purpose of setting CLASSPATH is to tell the Java execution environment in which directories you can find the classes or packages you need to execute your Java program.
Step 3: Download and install Eclipse or androidstudio, install it locally
Step 4: Download and install AndroidSDK
Configured JDK variable environment, installed Eclipse, this time if you just develop ordinary JAVA applications, then the Java development environment is ready. environment is ready. To develop Android applications through Eclipse, then you need to download the AndroidSDK (SoftwareDevelopmentKit) and install the ADT plug-in in Eclipse, this plug-in allows Eclipse and AndroidSDK associated.
Double-click the download and install, specify the installation directory of the AndroidSDK, in order to facilitate the use of AndroidSDK development tools included in the system environment variable in the Path set AndroidSDK installation directory under the tools directory.
In the AndroidSDK installation directory, double-click “SDKManager.exe” to open the AndroidSDK Manager, AndroidSDK Manage is responsible for downloading or updating different versions of SDK packages. The default installation of AndroidSDK Manager only installs one version of sdktools.
AndroidSDK provides the API libraries needed to develop Android applications and the development tools needed to build, test and debug Android applications.
Open http://developer.android.com/sdk/index.html and find that google provides AndroidDeveloperTools integrated with Eclipse, because this time it is already downloaded Eclipse, so we choose to download the separate AndroidSDK.
Open AndroidSDK Manager, it will get the version of the sdk that can be installed, but because of network reasons, sometimes there will be a failure to get the situation
Step 5: Install the ADT plugin for Eclipse
Ahead of this, we have already configured the java development environment, installed the development of the Android IDE, downloaded and installed the AndroidSDK, but Eclipse has not been associated with the AndroidSDK, that is, they are now independent of each other, as if the gun and bullets are separated. In order to make the creation, running and debugging of Android applications easier and faster, the Android development team has customized a plug-in for EclipseIDE: AndroidDevelopmentTools (ADT).
Start Eclipse, click Help menu – > InstallNewSoftware…? , click the Add… button in the pop-up dialog box, and then in the pop-up dialog box in the Location enter: http://dl-ssl.google.com/android/eclipse/, Name can enter ADT, click “OK Click “OK” button. In the pop-up dialog box, select the tool you want to install, and then next step.
After installation, you will be asked to restart Eclipse, Eclipse will intelligently associate with its Androididsdk in the same directory according to the location of the directory, and it will remind to install any version of Android’s sdk immediately if it has not already been installed through the sdkmanager tool.
How to take a screenshot on Android phone
Vivo phone can refer to the following screenshot methods:
Non-full-screen models: press and hold the HOME button + power button at the same time to take a screenshot.
Full-screen models and tablets have the following screenshot methods, you can choose according to need:
1, three-finger slide screenshot: in the bright screen interface three fingers hold down the screen and slide down, go to Settings – Shortcuts and Aids – Super Screenshot – make sure that the “gesture screenshot/three-finger slide screenshot” switch to remain on!
(Some models need to go to Settings – Screenshot – Quick Screenshot – Enable Three Finger Slide Screenshot)
2. Physical key screenshot: Press and hold the “power button” and the “sound differential bridge volume down key” at the same time, and then press and hold the “power button” to take a screenshot of the outside of the folded screen model. The external screen of the upper and lower folding screen models only supports physical button screenshots;
3, split-screen screenshots: split-screen state, in the left/right side of the three-finger press and hold the screen slides down, respectively, can intercept the corresponding area of the screen picture; in the middle of the screen three-finger press and hold the screen burning down, can be full-screen screenshots (part of the folding screen models to support).
Save the screenshot path: File Management – Phone Storage/Internal Storage – Pictures/DCIM – Screenshots folder; you can also go to Albums – Screenshots to view.
Note: Screenshot operation is not supported in some apps (such as banking)
Complete the screenshot.
5, Jovi voice assistant screenshot, wake up Jovi voice assistant, say “screenshot”, the voice assistant will perform screenshot operation.
6, bring up the Control Center, click Super Screenshot, and then click Screenshot.
Graphic link: web link
The operation method of long screenshot is as follows:
Method 1: Slide out the control center – super screenshot – long screenshot – wait for the automatic long screenshot to scroll – tap the screenshot area to stop – save it;
Method 2 (old model): Slide out the quick center – super screenshot – long screenshot – adjust the long screenshot – the screen can be saved;
Method 3: Slide out the shortcut center – super screenshot – long screenshot – tap the screen can be stopped. Long screenshot – adjust the upper border of the screenshot selection box to select the starting position of the long screenshot – slide up to intercept/tap the “next screen” – tap save to finish.
4 ways to develop Android apps
There are two forms of apps initially: a locally (operating system) based app that runs, called a native app, or NativeApp; and a WebApp that runs based on a browser, also installed on a cell phone. Because the native App is located above the platform layer, the downward access and compatibility is a bit better, which can support online or offline, message push or local resource access, camera and dialing function call. However, due to device fragmentation, the development cost of a local app is high, and maintaining multiple versions of updates and upgrades is troublesome.
With the emergence of HTML5, hybrid mobile apps (HybridApp) based on HTML5’s low-cost cross-platform development advantages and local app qualities are rapidly emerging. It significantly reduces the development cost of the App, can be issued through the existing application store mode, in the user desktop to form an independent portal, etc. HybridApp has become a good choice for the development of App, is the future trend of mobile application development.
1, native app development methods
To the development of different tools to categorize, the development of native App there are two kinds of development: Eclipse + ADT and AndroidStudio.
Eclipse + ADT
Eclipse + ADT development method is once the best choice for Android developers, but also officially supported by Google!
Eclipse+ADT But the 2013 GoogleI/O conference, Google officially exposed a new development tool AndroidStudio, and at the end of 2014 officially launched its own IDEAndroidStudio1.0, November 2, 2016, GoogleAndroidDeveloper official blog post, announced the cessation of the EclipseADT support.
Since the books and video tutorials on the market now, including many projects and source code are overwhelmingly based on Eclipse+ADT, it is essential to understand this development approach for beginners to facilitate a faster start and move to AndroidStudio use. (Of course, people who have confidence and strong self-learning ability can directly use AndroidStudio)
Eclipse+ADT development environment
Eclipse is a free, open source, Java-based extensible development platform. On its own , it is just a framework and a set of services for building development environments through plug-in components , through the installation of plug-ins , you can use it to develop C/C++,Java, Python, Perl, Ruby, Android, PHP and so on.
Eclipse is similar to Eclipse, you need to choose the corresponding JDK according to their computer operating system and the number of bits.
Installation of the JDK installation path, the system will be installed by default in the C:\ProgramFiles\Java path, but it is not recommended to install a path with spaces, which may lead to some unknown problems, it is recommended to Directly installed in the root path, such as D:\Java\jdk1.8.0_112\. After the installation is complete, we also want to configure the environment variables, here only explains the configuration process under the Windows operating system:
Click the Win window icon in the lower left corner, right-click on the computer, or directly right-click on the desktop “computer” icon, click “Properties
In the “Advanced” Tab, click the “Environment Variables” button to enter the Environment Variables dialog box.
In the System Variables below, create a new variable name: JAVA_HOME, variable value: JDK installation path, that is, after downloading the JDK installation path, for example, D:\Java\jdk1.8.0_112.
Find the variable Path, click Edit, and in the last add %JAVA_HOME%\bin;%JAVA_HOME%\\jre\bin;
Add the variable Path, click Edit, and in the last add %JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;%JAVA_HOME%\jre\bin;%JAVA_HOME%\bin; and jre\bin; Note that each item in there is separated by an English semicolon ;, this computer already has, just edit, add, not new. Then create a new variable name: CLASSPATH, variable value for . ;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar;. (Note that there is a . 😉
This JDK environment variables on the configuration is complete, open the Windows operating system command line window (in the “Start” menu to run cmd command can be), in the command line, respectively, enter java and javac commands, if you get the java or javac usage help information. If you get the java or javac usage help message, then it means that our environment variables have been configured successfully.
To complete the above steps, we can develop the J2SE program, but here we are to develop AndroidApp, so we also need to install Android on Eclipse plug-in ADT, its full name is AndroidDeveloperToolsPlug-in. now, Google’s official website has not ADT’s Now, Google’s official website no longer has a download link for ADT, it will prompt you to use AndroidStudio, and migrate your previous projects to AndroidStudio, so we recommend that you use the offline installation method.
Here is a domestic download link, which provides all the tools for Android development. However, due to the domestic GFW reasons, foreign sites basically can not access, we can only download in other domestic sites, these resources are still very easy to find (due to the instability and uncertainty of the online download, here only explains the method of offline download configuration). The above link already has the SDK download address, here to post two other links:,. Here is a special reminder, genymotion is based on Virtualbox run, if you install, can run normally, do not update, it’s update prompts directly ignored, otherwise it may lead to unavailability.
Eclipse there is a genymotion plug-in, after installation, you can generate a button in Eclipse, click on it to start genymotion, the picture above, on the left side of the SDKmanager (the right side of the AVDmanager), because you can first run genymotion, after running the Android program first, so ignore it here.
Okay, all done, now run the HelloWorld program.
Here, our HelloWorld also run out, you may have found, we did not write a line of code, yes, in accordance with the above steps, the default build out is such a HelloWorld project, which displays the contents of the Helloworld!
Ahead of the also said that. AndroidStudio is Google’s official IDE, the official website so that “AndroidStudio provides the fastest tools for building applications for all types of Android devices, using world-class code editing, debugging, performance tools, a flexible build system and a set of instant build/deploy system, you can focus on building unique applications. system, you can focus on building unique, high-quality applications.” In short, AndroidStudio is very strong and very big Android development tool, learning it takes some time, in addition, running AS on the computer configuration requirements are relatively high, the official recommendation of win7 or above operating system, 8GBRAM, the minimum screen resolution: 1280×800, which means that the average computer simply can not run. (Those very powerful IDE are generally very large, running conditions are very harsh, in fact, can be understood).
AS’s is https://developer.android.com/studio/index.html, and other downloads are available at:,.
AS video tutorials are as follows:?ss=1.
What is WebApp?Wikipedia explains it like this: Incomputing,awebapplicationorwebappisaclient_ serversoftwareapplicationinwhichtheclient(oruserinterface)runsinawebbrowser.Commonwebapplicationsincludewebmail,onlineretailsales, Commonwebapplicationsincludewebmail,onlineretailsales,onlineauctions,wikis,instantmessagingservicesandmanyotherfunctions.Understand it is like this: WebApp is to run on the network and standard browsers, based on the development of web technology to realize the specific functions of the application, can be understood as a touch-screen version of the website. Different from the native App, WebApp is not based on the operating system to run, but run in the browser, its host is the browser, it needs resources are generally on the network, so it does not need to download and install, but to use it must be connected to the Internet. These kinds of apps we commonly use are Baidu news, 163 mailboxes, Taobao touch screen version and so on.
Some of the better WebApps recommended on Knowledge:https://www.hu.com/question/19727553.
So what is HybridApp? It is literally a hybrid application. That’s right, it is a hybrid application of the previous two.
HybridApp (mixed mode mobile application) refers to the web-app, native-app between the two app, both “NativeApp good user interaction experience advantages” and “WebApp cross-platform development advantages “
These three cover all the mobile apps in the market. Their comparison is as follows:
There is a lot of analysis and understanding of the three on the network, excerpts are as follows:
Here is the open source Chinese community to organize a very comprehensive 121 mobile Web development framework:
4, online APP production platform
Online APP production platform is to allow people with no programming experience can develop interesting mobile applications. For example, the app development tool – APICloud. APICloud is a “cloud all-in-one” mobile development platform. Using the APICloud development platform is to use the Web language to develop iOS and Android applications, which will greatly reduce the difficulty of development and shorten the development cycle by nearly double. In addition, the APICloud platform has hundreds of various functional modules to facilitate the development of various types of apps.
How to build android development environment_How to build an Android development environment
My first Android program
Today, I’d like to share with you my first Android project: helloword
First of all, we need a development environment to develop Android programs, the following first to share the method of building the environment
Android development environment is very simple to build, google provides us with a complete set of development toolkit to download
Click on the DownloadtheSDK will appear The following page, choose to agree to the above terms and conditions, and according to their own system to choose the corresponding version, my computer is 32-bit so I chose the 32-bit, and then click on the blue button below you can start to download it ~ ~ ~
Downloaded after it is a 510M compressed file, select the directory to unzip the compressed file after the ability to get
These three things Here we see the familiar Eclipse folder, yes, this folder is our development tools, but do not worry, but before we start, we need to configure our environment variables
The SDK under the platform-tools and tools folder full path to configure the two folders in our environment variable PATH
My system is window7, the way to configure the environment variable: right-click on my computer->Properties->Advanced Settings->Environment Variables->Double-click on Path to append the paths of the folders into it, note that the middle should be separated by semicolons, click OK.
Configure all the environment variables, open our Eclipse folder eclipse.exe, the first time to open a dialog box will pop up, set our work path, that is, where we save the project
After the loading it, we will see the interface.
First of all, create a virtual machine for Android, click the AndroidVirtualDevicesManager option under Window
You can see our Android virtual machine management interface
Click new to create a new virtual machine
Choose the virtual machine and click OK.
With all the preparations done, let’s start creating an Android project, the almighty helloword, haha!
Virtual machine minimized, enter the Eclipse interface, menu bar File->new->Androidapplicationproject, create a new Android project
Then there will be an interface to select some parameters
The next step is all the way to the next and then finish, a new Android project is built
Then in the interface will see the Eclipse interface
Right-click on our project, runas-> select Androidapplication, you can run to our virtual machine
This is the first time that we have to create a new Android project.