The following is a preliminary analysis and discussion of the Android development environment. Android is an open-source mobile phone operating system developed by Google based on the Linux platform, in addition, his development language is
Editor's note: This article is a starter training course for Android 2.2 developers after three weeks of learning about Android. The article is well-developed. This is a very good tutorial for friends who have just studied Android development.
I.
When we create a view with EditText or AutoCompleteTextView, the input focus is automatically moved to the first input box when loading the view. As shown in:
The following is the mail. xml layout file:
Understanding the layout is very important for a good Android Application Design. In this tutorial, we provide an overview of how to adapt the layout to the Android application architecture. We also explored some specific available layout controls
Environment Construction
JDK Installation
If you do not have a JDK, you can download it here. The next step is to install the SDK step by step. To set environment variables, follow these steps:
Choose my computer> Properties> advanced> environment
First, check whether JDK has been installed on your computer. If JDK is not installed, right-click to download it)
After JDK is installed, press and holdWIN + RIn the pop-up dialog box, enterCmd, A black box will pop up after you press Enter. Most
If you can only use a mobile phone, you can come here to learn about the following Android system for reference.
// SpinnerDemo. java:
Package com. cci. SpinnerDemo;
Import android. app. Activity;
Import android. OS. Bundle;
Import
LogCat commissioning Information
In Window-> Show View-> Other... -> Android-> LogCat, The LogCat window is displayed. out. print () and Log. d () can print the information we need, for example:
System.out.print("Hello ---------------------\n");
InAndroidDuring use, if you want to eavesdrop on text messages received by others for your ulterior motives, the content in this section can meet your needs. When the system receives the text message,ActionName:Android. provider. Telephony.
1. Intuitive Architecture
The following figure shows the main components of the Android system:
It can be seen that the Android system architecture consists of five parts: Linux Kernel, Android Runtime, Libraries, Application Framework, and
I. Android has two ways to process threads:
Time-consuming operations are placed in the background service, and the user is notified through the notification mechanism); time-consuming operations are processed in the background thread.
2. Use
1. Relationship between memory hardware structure and addressing of MINI6410
After reading the above documents, I believe we should have a complete understanding and understanding of the DDR memory. Let's talk about the memory hardware structure on
AndroidAfter upgrading 2.0 to Android 2.1, you will get the following updates: 3D image libraries, voice input, news and weather plug-ins, improved locking modes, and pinch-to-zoom. Of course, the live wallpapers that people have been very concerned
This video is the first part of "video tutorial: Android core programming.
To view all the tutorials, click BKJIA video topic: Android core programming
Android core programming 2
Android core programming 3
Android core programming 4
This video is the second part of "video tutorial: Android core programming": Demonstration of the first Android Application.
To view all the tutorials, click BKJIA video topic: Android core programming
Android core programming 1
Android core
Build in WindowsFor Android 2.2The development environment is the content to be introduced in this article, mainly to understand and learnFor Android 2.2Environment setup content, detailsFor Android 2.2Here is a detailed description of the
Activity jump and value passing mainly connects multiple activities through the Intent class and transmits data through the Bundle class.
The sample code is as follows:
1.1 assign values using the intent. putExtra () method
1 public class menu
In Android, ListView is the most commonly used control. During the uidesign, many people want to change its background so that it can conform to the overall uidesign, to change the background, you only need to prepare an image and specify the
The AutoCompleteTextView function is similar to the prompt that is close to the input information when Baidu or Google inputs information in the search bar. The result is an editable text view. A prompt is displayed after you enter the information.
1. Understand Activity
Activity is one of the four main components of the Android program.
Activity is the presentation layer of the Android program. Each display screen of the program is an Activity.
Students who have learned WEB development can
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service