Android Chinese translation, android Chinese translation Group
Https://developer.android.com/training/basics/firstapp/index.html
Build your first application (app)
Welcome to Android development!
This category teaches you how to build your first application. You will learn how to create an android project and start a version of the application that can be debugged. You will learn some basics of Android design, including how to build a simple user interface and process user input.
Before you start this category, make sure that you have an android development environment and configured it. You need:
1. Download Android SDK)
2. Install the ADT plug-in for your Eclipse (if you use the Eclipse integrated development environment)
3. Use the SDK manager to download the latest SDK toolbox Platform
Note: before you start to be stupid, make sure that you have installed the latest version of ADT plug-in and Android SDK. The process description of this category is not applicable to earlier versions.
If you have not completed these tasks, download the Android SDK and follow the installation steps. Once you have completed the installation, you are ready to start this category.
This category uses a training format, which is to build a simple app continuously. It will teach you some basic concepts about Android development. It is very important to follow every step.
Start lesson 1 Start the first lesson ›
-------------------------------------------------------------------
Https://developer.android.com/training/basics/firstapp/creating-project.html
Create an android Project
An android project contains all the files of your application consisting of source code. The android SDK can easily create a new Android project consisting of default project folders and files.
This lesson shows how to create a new project. You can choose one of the two methods: Use Eclipse with the ADT plug-in or use the SDK tool at the command prompt.
Note: You should have prepared and installed the android SDK. If you use Eclipse, You should have installed the ADT plug-in (22.6.2 or later ). If you have not done this yet, follow the Guide to install the Android Development Kit Installing the Android SDK before you start this course.
Use Eclipse to create a project
1. ClickNew
2. In the displayed window, openAndroid folder,SelectAndroid Application ProjectAnd clickNext.
3. Fill in the form content that appears:
- Application Name Application name. Is the name of the application displayed to the user. In this project, use "My First App ".
- Project NameProject name. Is the name of the folder of your project, which is also the name seen in Eclipse.
- Package Name Package name. Is the namespace of your package (the same as the Java programming language Package concept ). Your package name must be unique among all the packages in your Android system. Therefore, it is generally best that you start with a reserved domain name of your organization or publisher entity. In this project, you can use. example. myfirstapp ", however, you cannot publish your" com. example "namespace application.
- Minimum Required SDKThe minimum requirement is that the SDK is the lowest Android version supported by your application. Use the API level to specify. To support more devices, you can set it to the lowest version supported by your application's core performance set. If some features of your application may only be in a newer version, and it does not play a decisive role in all of your application features, you can enable it only when it runs on a supported version. (For more information, see supported Versions of Supporting Different Platform Versions.) In this project, we retain these settings as the default value.
- Target SDKIndicates the maximum version of Android that your application can support (still specified at the API level) that you have tested)
When a new Android version becomes available, you should test your application in the new Android version and update this value to match the latest API level, in this way, you can obtain the greatest benefits of the new platform features.
- Compile BuildIt is the platform version you use to compile your application. By default, this will be set to the latest version of the available SDK in your hands (it may be Android 4.1 or later; if you do not have any available version, you must use SDK Manager to install one ). You can still build your application to support older versions, however, setting the compilation target to the latest version allows you to enable new features and optimize your applications for a better user experience on the latest device.
- Theme TopicIndicates the interface style of your application. You can keep it as it is.
Click Next to go to the Next step.
4. Configure the project on the Next screen, retain the default options, and click Next.
5. On the next screen, you can create a startup icon.
You can customize an icon in multiple ways, and create an icon suitable for multiple screen density using tools. Before you release your application, make sure that your icons comply with the specifications in the Iconography declaration in the icon design guide.
Click Next.
6. Now you can select an Activity (PAGE) template to start building your application. For this project, select the blank template of the blanceractivity and click Next.
7. Keep all the details of the Activity in the default state, and click Finish.
Your project is now only a basic "Hello World" application, which contains some default files. To start this application, continue to learn next lesson in the next lesson ..
Your project is now only a basic "Hello World" application, which contains some default files. To start this application, continue to learn next lesson in the next lesson ..
Use the command line tool to create a project
If you do not use an Eclipse integrated development environment with the ADT plug-in, you can use the SDK tool to create your project from a command prompt line tool.
1. Change your folder to the installation directory of Android SDK tools.
2. Run
android list targets
This will print out the list of all available Android platforms you have downloaded in your SDK. Find the platform you want to compile your APP. Record the target id. We recommend that you use the highest available version. You can still build your APP to support older versions, but setting the build target to the latest version allows you to optimize your app on the latest devices.
If you do not see any content listed, you need to use Android SDK manager to install it. See Adding Platforms and Packages.
3. Execution
android create project --target <target-id> --name MyFirstApp \--path <path-to-workspace>/MyFirstApp --activity MainActivity \--package com.example.myfirstapp
Replace <target-id> with the listed targets (obtained in the previous step), and replace <path-to-workspace> with the folder location where you want to save your project.
Tip: Please addplatform-tools/Andtools/The PATH environment variable.
NEXT: running your application next lesson: Start YOUR APPLICATION
Bytes -------------------------------------------------------------------------------------------------------------
How to translate Android into Chinese
Android
Terms: Robots in science fiction
Adjective:
1. having human characteristics
2. (finger bone disk)
3. Positive, male, and male
Android
N. Android system (a Linux-based mobile OS developed by Google)
Android, a noun, literally translated as a robot (in scientific fiction) or a man-like robot. Android is also the name of the mobile phone platform operating system developed by Google on December 31, November 5. Based on the open-source software Linux, the platform is composed of operating systems, middleware, user interfaces, and application software. It is known as the first truly open and complete mobile software for mobile terminals.
How to translate Android mobile phone software into Chinese
Only professionals are allowed, and the software compiled in Chinese is not ideal. Therefore, Chinese software is widely used.
Less